- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 276 for expectKind (0.21 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/apply_test.go
Body(yamlBody). DoRaw(context.TODO()) if err == nil { t.Fatalf("Expecting to get conflicts when applying object, got no error: %s", result) } status, ok := err.(*errors.StatusError) if !ok { t.Fatalf("Expecting to get conflicts as API error") } if len(status.Status().Details.Causes) < 1 { t.Fatalf("Expecting to get at least one conflict when applying object, got: %v", status.Status().Details.Causes) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/name_flags_test.go
t.Fatalf("expected to match name printer for output format %q", tc.outputFormat) } if len(tc.expectedError) > 0 { if err == nil || !strings.Contains(err.Error(), tc.expectedError) { t.Errorf("expecting error %q, got %v", tc.expectedError, err) } return } if err != nil { t.Fatalf("unexpected error: %v", err) } out := bytes.NewBuffer([]byte{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 21 15:08:30 UTC 2018 - 3.1K bytes - Viewed (0) -
pkg/env/var_test.go
vars := VarDescriptions() if vars[0].Name != "TESTXYZ1" { t.Errorf("Expecting TESTXYZ1, got %s", vars[0].Name) } if vars[0].Description != "A string" { t.Errorf("Expected 'A string', got '%s'", vars[0].Description) } if vars[1].Name != "TESTXYZ2" { t.Errorf("Expecting TESTXYZ2, got %s", vars[0].Name) } if vars[1].Description != "An int" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 8.1K bytes - Viewed (0) -
src/io/pipe.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Pipe adapter to connect code expecting an io.Reader // with code expecting an io.Writer. package io import ( "errors" "sync" ) // onceError is an object that will only store an error once. type onceError struct { sync.Mutex // guards following err error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 5.1K bytes - Viewed (0) -
test/fixedbugs/issue13273.go
<-<-chan int // ERROR "unexpected <-, expected chan|expecting {" (new parser: same error as for type decl) type _ <-chan<-int // ERROR "unexpected int, expected chan|expected .*chan.*|expected chan|expected .*;.* or .*}.* or newline" <-chan<-int // ERROR "unexpected int, expected chan|expecting {" (new parser: same error as for type decl)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 22:37:04 UTC 2022 - 1.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy
withModuleMetadata(expectation) withoutModuleMetadata(expectation) } /** * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not * @param fileNames */ void expectFiles(String... fileNames) { always { expectFiles(fileNames as List<String>)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
completions.Add(1) }) // Expect to run once expectInt(t, completions.Load, 1) // drop RBAC permissions to update the configmap // This simulates loosing an active lease allowRbac.Store(false) // We should start a new cycle at this point expectInt(t, l.cycle.Load, 2) // Add configmap permission back allowRbac.Store(true)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
test/fixedbugs/issue32288.go
} //go:noinline func f(t *int, p *int) []T { var res []T for { var e *T res = append(res, *e) } } func main() { defer func() { useStack(100) // force a stack copy // We're expecting a panic. // The bug in this issue causes a throw, which this recover() will not squash. recover() }() junk() // fill the stack with invalid pointers f(nil, nil) } func useStack(n int) { if n == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 21:52:17 UTC 2019 - 809 bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
expectedException: true, expectedOutput: "Error: expecting a workload name\n", }, { description: "Invalid command args - missing service name", args: strings.Split("group create -n bar", " "), expectedException: true, expectedOutput: "Error: expecting a workload name\n", }, { description: "Invalid command args - missing service namespace",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 14.6K 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)