- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for expectKind (0.4 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
list bool expected runtime.Object expectKind schema.GroupVersionKind statusCode int }{ { accept: "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io", statusCode: http.StatusNotAcceptable, }, { accept: "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io, application/json",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0) -
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) -
pkg/scheduler/schedule_one_test.go
sendPod *v1.Pod registerPluginFuncs []tf.RegisterPluginFunc expectErrorPod *v1.Pod expectForgetPod *v1.Pod expectAssumedPod *v1.Pod expectError error expectBind *v1.Binding eventReason string mockResult mockScheduleResult }{ { name: "error reserve pod", sendPod: podWithID("foo", ""),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K 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) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
feel which way it was growing, and she was quite surprised to find that she remained the same size: to be sure, this generally happens when one eats cake, but Alice had got so much into the way of expecting nothing but out-of-the-way things to happen, that it seemed quite dull and stupid for life to go on in the common way. So she set to work, and very soon finished off the cake.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 145.2K bytes - Viewed (0)