- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for expecting (0.26 sec)
-
cmd/server_test.go
// modified time of the object expecting the response status to be http.StatusNotModified. c.Assert(response.StatusCode, http.StatusNotModified) // Again, obtain the object info. // This time setting "If-Unmodified-Since" to a time after the object is modified. // As documented above, expecting http.StatusPreconditionFailed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
src/reflect/all_test.go
} n = Copy(val, ValueOf("hello")) if expecting := []byte("hello___"); n != 5 || !bytes.Equal(s[:], expecting) { t.Errorf("got n = %d, s = %s, expecting n = 5, s = %s", n, s[:], expecting) } n = Copy(val, ValueOf("helloworld")) if expecting := []byte("hellowor"); n != 8 || !bytes.Equal(s[:], expecting) { t.Errorf("got n = %d, s = %s, expecting n = 8, s = %s", n, s[:], expecting) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/database/sql/sql_test.go
} }() db.mu.Lock() defer db.mu.Unlock() if db.numOpen != nconn { t.Fatalf("unexpected numOpen %d (was expecting %d)", db.numOpen, nconn) } else if len(db.freeConn) != nconn { t.Fatalf("unexpected len(db.freeConn) %d (was expecting %d)", len(db.freeConn), nconn) } for _, conn := range db.freeConn { conn.Lock() conn.ci.(*fakeConn).stickyBad = true conn.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_test.go
t.Errorf("got diff in tls context: %v", diff) } if !reflect.DeepEqual(tc.result.httpOpts, ret.httpOpts) { t.Errorf("expecting httpopts:\n %+v \nbut got:\n %+v", tc.result.httpOpts, ret.httpOpts) } if !reflect.DeepEqual(tc.result.sniHosts, ret.sniHosts) { t.Errorf("expecting snihosts %+v but got %+v", tc.result.sniHosts, ret.sniHosts) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 144K bytes - Viewed (0) -
cmd/object-handlers_test.go
expectedRespStatus: http.StatusBadRequest, }, // Test case - 8. // Test case with non-existent source file. // Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`. // Expecting the response status code to http.StatusNotFound (404). { bucketName: bucketName, uploadID: uploadID,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
t.Errorf("Wrong event ordering: expecting (Item 1), got (%s)", message1) } secondRow := rows[1] message2 := secondRow.Cells[4] if message2 != "Item 2" { t.Errorf("Wrong event ordering: expecting (Item 2), got (%s)", message2) } thirdRow := rows[2] message3 := thirdRow.Cells[4] if message3 != "Item 3" { t.Errorf("Wrong event ordering: expecting (Item 3), got (%s)", message3) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
suspend: true, parallelism: 2, activePods: 3, // active > parallelism, expectations unsatisfied fakeExpectationAtCreation: -1, // the controller is expecting a deletion completions: 4, backoffLimit: 6, expectedCreations: 0, expectedDeletions: 0, expectedActive: 3,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
"self.doubleunderscore__underscores__doubleunderscore == 405", }, errors: map[string]string{ // 'true' is a boolean literal, not a field name "self.true == 1": "mismatched input 'true' expecting IDENTIFIER", // 'self' is the locally scoped expression value "self == 201": "found no matching overload for '_==_'", // attempts to use identifiers that are not escapable are caught by the compiler since
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
selectTrafficPolicyComponents(testCase.policy) if testCase.policy.Tls.CaCertificates != testCase.expectedCARootPath { t.Errorf("%v got %v when expecting %v", testCase.name, testCase.policy.Tls.CaCertificates, testCase.expectedCARootPath) } }) } } func TestBuildDeltaClusters(t *testing.T) { testService1 := &model.Service{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
src/net/http/transport_test.go
res, err := c.Do(req) if err != nil { t.Fatal(err) } defer res.Body.Close() if want := tc.disableKeepAlives || tc.close; count > 1 || (count == 1) != want { t.Errorf("expecting want:%v, got 'Connection: close':%d", want, count) } }) } } func TestTransportIdleCacheKeys(t *testing.T) { run(t, testTransportIdleCacheKeys, []testMode{http1Mode}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)