- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 193 for expectGet (0.11 sec)
-
internal/grid/grid_test.go
got := 0 for resp := range st.responses { // t.Log("got response", resp) errFatal(resp.Err) if resp.Msg[0] != byte(got) { t.Error("expected response", got, "got", resp.Msg[0]) } got++ } if got != 100 { t.Error("expected 100 responses, got", got) } } func testServerInCongestion(t *testing.T, local, remote *Manager) { defer testlogger.T.SetErrorTB(t)()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy
""" when: configurationCacheRun "ok" configurationCacheRun "ok" then: def expected = output instanceof File ? file(output.path) : output outputContains("this.value = ${expected}") outputContains("bean.value = ${expected}") where: type | factory | reference | output
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 26.1K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction_test.go
gotErr := errToString(err) if gotErr != tc.expectError { t.Errorf("error mismatch: expected %v, got %v; name %v", tc.expectError, gotErr, pod.Name) return } if tc.badNameInURL { if err == nil { t.Error("expected error here, but got nil") return } if err.Error() != "name in URL does not match name in Eviction object" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 09:26:37 UTC 2024 - 40K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) waitForMockCalls() assertPodAnnotated(t, client, pod) // Assert expected calls actually made fs.AssertExpectations(t) } func TestExistingPodAddedWhenDualStack(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
wantFinishTime: defaultTestTime, }, } for name, tc := range testCases { t.Run(name, func(t *testing.T) { f := getFinishedTime(&tc.pod) if !f.Equal(tc.wantFinishTime) { t.Errorf("Expected value of finishedTime %v; got %v", tc.wantFinishTime, f) } }) } } func TestGetRemainingBackoffTime(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
tests/scan_test.go
if info.Person == nil { t.Fatalf("Failed, expected not nil, got person nil") } if info.Address == nil { t.Fatalf("Failed, expected not nil, got address nil") } if info.Person.ID == person1.ID { personMatched = true if info.Person.Name != person1.Name { t.Errorf("Failed, expected %v, got %v", person1.Name, info.Person.Name) } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
// verify the results if tc.expectAnnotation != "" { out := obj.(*example.Pod) if v, found := out.Annotations[tc.expectAnnotation]; !found { t.Errorf("Expected annotation %q not found", tc.expectAnnotation) } else if v != "true" { t.Errorf("Expected annotation %q has wrong value: %q", tc.expectAnnotation, v) } } if tc.expectMilestones != nil { if !reflect.DeepEqual(milestones, tc.expectMilestones) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy
} def "Client JVM system properties do not appear in the build if withSystemProperties() is called"() { setup: toolingApi.requireDaemons() // no separate daemon JVM -> all client JVM system properties are expected to be visible when: runTask { withSystemProperties('unrelated' : 'value') } then: hasNoSystemProperty('mySystemProperty') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5K bytes - Viewed (0) -
src/net/http/transport_test.go
defer wg.Done() doReq() }() } wg.Wait() expected := int32(tr.MaxConnsPerHost) if dialCnt != expected { t.Errorf("round 1: too many dials: %d != %d", dialCnt, expected) } if gotConnCnt != expected { t.Errorf("round 1: too many get connections: %d != %d", gotConnCnt, expected) } if ts.TLS != nil && tlsHandshakeCnt != expected {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
cmd/api-errors.go
}, ErrParseExpectedDatePart: { Code: "ParseExpectedDatePart", Description: "Did not find the expected date part in the SQL expression.", HTTPStatusCode: http.StatusBadRequest, }, ErrParseExpectedKeyword: { Code: "ParseExpectedKeyword", Description: "Did not find the expected keyword in the SQL expression.", HTTPStatusCode: http.StatusBadRequest, }, ErrParseExpectedTokenType: {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (0)