- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for expecting (0.28 sec)
-
pkg/volume/csi/csi_attacher_test.go
attachID, err := csiAttacher.Attach(spec, types.NodeName(nodename)) if !fail && err != nil { t.Errorf("expecting no failure, but got err: %v", err) } if fail && err == nil { t.Errorf("expecting failure, but got no err") } if attachID != "" { t.Errorf("expecting empty attachID, got %v", attachID) } }(tc.spec, tc.nodeName, tc.shouldFail)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
// Expecting "Invalid upload id". {bucketName: bucket, objName: "def", uploadID: "xyz", PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id xyz")}, // Test Case - 9. // Existing bucket, bucket and object name are the ones from which NewMultipartUpload is constructed from. // But the uploadID is invalid. // Expecting "Invalid upload id".
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
key := computePodKey(tt.inputObj) if err := store.Get(ctx, key, storage.GetOptions{}, out); !storage.IsNotFound(err) { t.Fatalf("expecting empty result on key %s, got %v", key, err) } err := store.Create(ctx, key, tt.inputObj, out, 0) if !errors.Is(err, tt.expectedError) { t.Errorf("expecting error %v, but get: %v", tt.expectedError, err) } if err != nil { return } // basic tests of the output
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
cmd/xl-storage_test.go
// Either both have to be files or directories. // Expecting to fail with `errFileAccessDenied`. { srcVol: "src-vol", destVol: "dest-vol", srcPath: "file4", destPath: "new-path/", expectedErr: errFileAccessDenied, }, // TestXLStorage case - 10. // TestXLStorage case with non-existent source volume. // Expecting to fail with `errVolumeNotFound`. {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
pod2 := pod1 pod2.Labels = labelMap2 pod2.ResourceVersion = "2" manager.updatePod(logger, &pod1, &pod2) expected := sets.NewString(testRSSpec1.Name) for _, name := range expected.List() { t.Logf("Expecting update for %+v", name) select { case got := <-received: if !expected.Has(got) { t.Errorf("Expected keys %#v got %v", expected, got) } case <-time.After(wait.ForeverTestTimeout):
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
cmd/api-errors.go
} if region := globalSite.Region(); region != "" { if errCode == ErrAuthorizationHeaderMalformed { apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region) return apiErr } } return apiErr } func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError { return e.ToAPIErrWithErr(errCode, nil) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
llvm::SetVector<Operation*> ops_to_erase; llvm::MapVector<BlockArgument, TF::TPUReplicatedInputOp> cache; for (auto input_op : func.getRegion().getOps<TF::TPUReplicatedInputOp>()) { // We're only expecting a single input argument to be replicated. if (input_op->getNumOperands() > 1) continue; Value operand = input_op->getOperand(0); if (!llvm::isa<BlockArgument>(operand)) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
RunE: func(cmd *cobra.Command, args []string) error { describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace()) if len(args) != 1 { return fmt.Errorf("expecting pod name") } podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault("")) client, err := ctx.CLIClient() if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
src/go/parser/parser.go
} if p.tok == token.COMMA { // Trailing commas are accepted in type parameter // lists but not in array type declarations. // Accept for better error handling but complain. p.error(p.pos, "unexpected comma; expecting ]") p.next() } p.expect(token.RBRACK) elt := p.parseType() return &ast.ArrayType{Lbrack: lbrack, Len: len, Elt: elt} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
t.Fatalf("unexpected kmsUsed value, expected: %v, got: %v", tt.wantV2Used, kmsUsed) } } if !strings.Contains(errString(err), tt.expectedErr) { t.Fatalf("expecting error calling prefixTransformersAndProbes, expected: %s, got: %s", tt.expectedErr, errString(err)) } }) } } func TestKMSMaxTimeout(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 72.3K bytes - Viewed (0)