- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestGetVolumeName (0.49 sec)
-
pkg/volume/flexvolume/plugin_test.go
) plugin.Init(plugin.host) } func fakeVolumeNameOutput(name string) testingexec.FakeAction { return fakeResultOutput(&DriverStatus{ Status: StatusSuccess, VolumeName: name, }) } func TestGetVolumeName(tt *testing.T) { t := harness.For(tt) defer t.Close() spec := fakeVolumeSpec() plugin, _ := testPlugin(t) plugin.runner = fakeRunner(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 21 06:54:44 UTC 2019 - 1.5K bytes - Viewed (0) -
pkg/volume/local/local_test.go
} if volumetest.ContainsAccessMode(modes, v1.ReadOnlyMany) { t.Errorf("Found AccessModeType %q, expected not", v1.ReadOnlyMany) } } func TestGetVolumeName(t *testing.T) { tmpDir, plug := getPersistentPlugin(t) defer os.RemoveAll(tmpDir) volName, err := plug.GetVolumeName(getTestVolume(false, tmpDir, false, nil)) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 10:53:39 UTC 2023 - 22.5K bytes - Viewed (0)