- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for wantRm (0.15 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) -
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) -
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) -
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) -
src/text/template/exec_test.go
t.Fatal(err) } if got := buf.String(); got != want { t.Errorf("got %q, want %q", got, want) } buf.Reset() if err := tmpl2.Execute(&buf, "goodbye"); err != nil { t.Fatal(err) } if got := buf.String(); got != want2 { t.Errorf("got %q, want %q", got, want2) } } func TestEvalFieldErrors(t *testing.T) { tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
stk = s break } } if len(stk) != depth { t.Fatalf("want stack depth = %d, got %d", depth, len(stk)) } if rootFn, wantFn := stk[depth-1], "runtime/pprof.produceProfileEvents"; rootFn != wantFn { t.Fatalf("want stack stack root %s, got %v", wantFn, rootFn) } }) } } func hasPrefix(stk []string, prefix []string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/math/big/int_test.go
var z Int z.neg = true got := z.SetBits(test) want := norm(test) if got.abs.cmp(want) != 0 { t.Errorf("SetBits(%v) = %v; want %v", test, got.abs, want) } if got.neg { t.Errorf("SetBits(%v): got negative result", test) } bits := nat(z.Bits()) if bits.cmp(want) != 0 { t.Errorf("%v.Bits() = %v; want %v", z.abs, bits, want) } } } func checkSetBytes(b []byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0)