- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for notexist (0.22 sec)
-
pkg/volume/csi/csi_mounter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
_, ctx := ktesting.NewTestContext(t) dc, _ := newFakeDisruptionController(ctx) pdb, _ := newMinAvailablePodDisruptionBudget(t, intstr.FromString("67%")) add(t, dc.pdbStore, pdb) if err := dc.sync(ctx, "notExist"); err != nil { t.Errorf("Unexpected error: %v, expect nil", err) } } func TestUpdateDisruptedPods(t *testing.T) { _, ctx := ktesting.NewTestContext(t) dc, ps := newFakeDisruptionController(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
}{ "invalid pattern": { input: "[a-z*.yaml", expectedErr: "syntax error in pattern", inputInError: true, }, "file does not exist": { input: "../../artifacts/guestbook/notexist.yaml", expectedErr: "does not exist", inputInError: true, }, "directory does not exist and valid glob": { input: "../../artifacts/_does_not_exist_/*.yaml", expectedErr: "does not exist",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
return dsc.updateDaemonSetStatus(ctx, ds, nodeList, hash, false) } err = dsc.updateDaemonSet(ctx, ds, nodeList, hash, dsKey, old) statusErr := dsc.updateDaemonSetStatus(ctx, ds, nodeList, hash, true) switch { case err != nil && statusErr != nil: // If there was an error, and we failed to update status,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
src/os/os_test.go
} } func TestRenameNotExisting(t *testing.T) { defer chtmpdir(t)() from, to := "doesnt-exist", "dest" Mkdir(to, 0777) if err := Rename(from, to); !IsNotExist(err) { t.Errorf("Rename(%q, %q) = %v; want an IsNotExist error", from, to, err) } } func TestRenameToDirFailed(t *testing.T) { defer chtmpdir(t)() from, to := "renamefrom", "renameto" Mkdir(from, 0777)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
// Because if containerLog path does not exist, only dangling legacySymlink is created. // This dangling legacySymlink is later removed by container gc, so it does not make sense // to create it in the first place. it happens when journald logging driver is used with docker. if _, err := m.osInterface.Stat(containerLog); !os.IsNotExist(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
// for creating this file. It shouldn't exist. _, err := os.Stat(filepath.Join(parent, volDataFileName)) if !os.IsNotExist(err) { t.Errorf("vol_data.json should not exist: %v", err) } _, err = os.Stat(filePath) if os.IsNotExist(err) { t.Errorf("expecting file to exist after err received: %v", err) } err = os.Chmod(parent, 0777) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.t.Helper() if _, err := os.Stat(path); err != nil { if os.IsNotExist(err) { tg.t.Fatalf("%s does not exist but should", path) } tg.t.Fatalf("%s stat failed: %v", path, err) } } // mustNotExist fails if path exists. func (tg *testgoData) mustNotExist(path string) { tg.t.Helper() if _, err := os.Stat(path); err == nil || !os.IsNotExist(err) { tg.t.Fatalf("%s exists but should not (%v)", path, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/net/url/url_test.go
t.Errorf("Has(bar) = %t, want %t", h, e) } if h, e := v.Has("baz"), true; h != e { t.Errorf("Has(baz) = %t, want %t", h, e) } if h, e := v.Has("noexist"), false; h != e { t.Errorf("Has(noexist) = %t, want %t", h, e) } v.Del("bar") if g, e := v.Get("bar"), ""; g != e { t.Errorf("second Get(bar) = %q, want %q", g, e) } } type parseTest struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0) -
cmd/xl-storage.go
// Healing must not come here and return error, since healing // deals with dataDirs directly, let healing fix things automatically. if lerr := Access(pathJoin(volumeDir, path, fi.DataDir)); lerr != nil { if os.IsNotExist(lerr) { // Data dir is missing we must return errFileCorrupted return FileInfo{}, errFileCorrupt } return FileInfo{}, osErrToFileErr(lerr) } } return fi, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (2)