- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 78 for expecting (0.26 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
server.enqueue(MockResponse(body = "A")) client = client.newBuilder() .readTimeout(Duration.ofSeconds(1)) .build() // Make a call expecting a timeout reading the response headers. val call1 = client.newCall(Request(server.url("/"))) assertFailsWith<SocketTimeoutException> { call1.execute() }.also { expected ->
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
// clients are expecting an updated object if a PUT succeeded, // but finalizeDelete returns a metav1.Status, so return // the object in the request instead. return obj, false, err } return nil, false, storeerr.InterpretDeleteError(err, e.qualifiedResourceFromContext(ctx), name) } _, err := e.finalizeDelete(ctx, out, true, options) // clients are expecting an updated object if a PUT succeeded, but
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
// +-----------------+---------------------+-----------------------+ { name: "RV=unset, allowWatchBookmarks=true, sendInitialEvents=nil", opts: listOptions(true, nil, ""), // Expecting RV 0, due to https://github.com/kubernetes/kubernetes/pull/123935 reverted to serving those requests from watch cache. // Set to 100, when WatchFromStorageWithoutResourceVersion is set to true. expectedWatchResourceVersion: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
} else if search.InDir(modRoot, os.TempDir()) == "." { // If you create /tmp/go.mod for experimenting, // then any tests that create work directories under /tmp // will find it and get modules when they're not expecting them. // It's a bit of a peculiar thing to disallow but quite mysterious // when it happens. See golang.org/issue/26708. fmt.Fprintf(os.Stderr, "go: warning: ignoring go.mod in system temp root %v\n", os.TempDir())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls_test.go
if tc.h2 { setH2Options(tc.opts.mutable) } ret, err := cb.buildUpstreamClusterTLSContext(tc.opts, tc.tls) if err != nil && tc.result.err == nil || err == nil && tc.result.err != nil { t.Errorf("expecting:\n err=%v but got err=%v", tc.result.err, err) } else if diff := cmp.Diff(tc.result.tlsContext, ret, protocmp.Transform()); diff != "" { t.Errorf("got diff: `%v", diff) } if tc.enableAutoSni {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
) if err != nil { t.Fatalf("Failed to make a new Mounter: %v", err) } csiMounter := mounter.(*csiMountMgr) mountPath := csiMounter.GetPath() if tc.path != mountPath { t.Errorf("expecting path %s, got %s", tc.path, mountPath) } } } func TestMounterSetUp(t *testing.T) { tests := []struct { name string driver string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
src/crypto/tls/conn.go
expectedVers = VersionTLS12 } n := int(hdr[3])<<8 | int(hdr[4]) if c.haveVers && vers != expectedVers { c.sendAlert(alertProtocolVersion) msg := fmt.Sprintf("received record with version %x when expecting version %x", vers, expectedVers) return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg)) } if !c.haveVers { // First message, be extra suspicious: this might not be a TLS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/runtime/mgc.go
// All gcWork caches must be empty. // STW is in effect at this point. func gcMark(startTime int64) { if gcphase != _GCmarktermination { throw("in gcMark expecting to see gcphase as _GCmarktermination") } work.tstart = startTime // Check that there's no marking work remaining. if work.full != 0 || work.markrootNext < work.markrootJobs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/encoding/json/decode_test.go
err: &SyntaxError{"invalid character '=' after object key", 14}, }, { CaseName: Name(""), in: `falsetruenul#`, err: &SyntaxError{"invalid character '#' in literal null (expecting 'l')", 13}, }} for _, tt := range tests { t.Run(tt.Name, func(t *testing.T) { dec := NewDecoder(strings.NewReader(tt.in)) var err error for err == nil { var v any
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
}, { description: "From the above test case, just changing pod priority from cluster-services to another-priorityclass-name. expecting no error", testPod: validPodWithPriority("allowed-pod", 1, getResourceRequirements(getResourceList("3", "2Gi"), getResourceList("", "")), "another-priorityclass-name"), quota: &corev1.ResourceQuota{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0)