- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for wantRm (0.24 sec)
-
src/crypto/tls/handshake_client_test.go
t.Fatalf("expected non-nil certificates after resumption. Got peerCertificates: %#v, verifiedCertificates: %#v", hs.PeerCertificates, hs.VerifiedChains) } if got, want := hs.ServerName, clientConfig.ServerName; got != want { t.Errorf("%s: server name %s, want %s", test, got, want) } } getTicket := func() []byte { return clientConfig.ClientSessionCache.(*lruSessionCache).q.Front().Value.(*lruSessionCacheEntry).state.session.ticket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
addPods(t, controller, fx, tc.pods...) // Verify expected existing pod AZs for pod, wantAZ := range tc.wantAZ { az := controller.getPodLocality(pod) if wantAZ != "" { if !reflect.DeepEqual(az, wantAZ) { t.Fatalf("Wanted az: %s, got: %s", wantAZ, az) } } else { if az != "" { t.Fatalf("Unexpectedly found az: %s for pod: %s", az, pod.ObjectMeta.Name)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/controller/history/controller_history_test.go
revisions []*apps.ControllerRevision want map[string]bool } testFn := func(test *testcase, t *testing.T) { found := FindEqualRevisions(test.revisions, test.revision) if len(found) != len(test.want) { t.Errorf("%s: want %d revisions found %d", test.name, len(test.want), len(found)) } for i := range found { if !test.want[found[i].Name] { t.Errorf("%s: wanted %s not found", test.name, found[i].Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 49.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
} n, err := io.ReadFull(clientConn, bb) if err != nil { t.Fatalf("%s #%d: %s\nRead %d, wanted %d, got %x, wanted %x\n", test.name, i+1, err, n, len(bb), bb[:n], b) } if !bytes.Equal(b, bb) { t.Fatalf("%s #%d: mismatch on read: got:%x want:%x", test.name, i+1, bb, b) } } clientConn.Close() } connState := <-connStateChan
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go
if decision != decisionSkipFilter && atomicReadOnlyExecuting != 1 { t.Errorf("Wanted %d requests executing, got %d", 1, atomicReadOnlyExecuting) } } postExecuteFunc := func() {} // atomicReadOnlyWaiting can be either 0 or 1 as we test one request at a time. postEnqueueFunc := func() { if atomicReadOnlyWaiting != 1 { t.Errorf("Wanted %d requests in queue, got %d", 1, atomicReadOnlyWaiting) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 52.6K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
if err != nil { t.Fatal("LookupTXT failed:", err) } if want := 2; len(txt) != want { t.Fatalf("len(txt), got %d, want %d", len(txt), want) } if want := "string1 string2"; txt[0] != want { t.Errorf("txt[0], got %q, want %q", txt[0], want) } if want := "onestring"; txt[1] != want { t.Errorf("txt[1], got %q, want %q", txt[1], want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
} sd.serviceInstances = tc.serviceInstances port := &Port{ Port: tc.servicePort, } if got := ps.BestEffortInferServiceMTLSMode(nil, service, port); got != tc.wanted { t.Fatalf("want %s, but got %s", tc.wanted, got) } if got := ps.BestEffortInferServiceMTLSMode(nil, externalService, port); got != MTLSUnknown {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
src/net/http/client_test.go
if err != nil { t.Fatal(err) } if res.StatusCode != tt.want { t.Errorf("POST %s: status code = %d; want %d", tt.suffix, res.StatusCode, tt.want) } } log.Lock() got := log.String() log.Unlock() got = strings.TrimSpace(got) want = strings.TrimSpace(want) if got != want { got, want, lines := removeCommonLines(got, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
pilot/pkg/networking/core/httproute_test.go
DNSDomain: "local.campus.net", }, want: []string{ "foo.local.campus.net", "foo", "alias.local.campus.net", "alias", }, }, } testFn := func(t test.Failer, service *model.Service, port int, node *model.Proxy, want []string) { out, _ := generateVirtualHostDomains(service, port, port, node) assert.Equal(t, out, want) } for _, c := range cases { c := c
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
} if got, want := controllerRef.APIVersion, apps.SchemeGroupVersion.String(); got != want { t.Errorf("controllerRef.APIVersion = %q, want %q", got, want) } if got, want := controllerRef.Kind, "StatefulSet"; got != want { t.Errorf("controllerRef.Kind = %q, want %q", got, want) } if got, want := controllerRef.Name, set.Name; got != want {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0)