- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for expect2 (0.2 sec)
-
pilot/pkg/networking/core/cluster_test.go
To(Equal(uint32(expected.Tcp.TcpKeepalive.Time.Seconds))) g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval.Value). To(Equal(uint32(expected.Tcp.TcpKeepalive.Interval.Seconds))) g.Expect(cluster.ConnectTimeout).NotTo(BeNil()) g.Expect(cluster.ConnectTimeout.Seconds).To(Equal(expected.Tcp.ConnectTimeout.Seconds)) g.Expect(thresholds.MaxConnections).NotTo(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
} expected := []bool{true, true, true} for i, pod := range pods { if result := manager.Admit(&lifecycle.PodAdmitAttributes{Pod: pod}); expected[i] != result.Admit { t.Errorf("Admit pod: %v, expected: %v, actual: %v", pod, expected[i], result.Admit) } } manager.nodeConditions = []v1.NodeConditionType{v1.NodeMemoryPressure} expected = []bool{true, true, false}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
} for i := range rows { rows[i].Object.Object = nil } if !reflect.DeepEqual(test.expect, rows) { t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expect, rows)) } } } func TestPrintPodWithRestartableInitContainer(t *testing.T) { tests := []struct { pod api.Pod expect []metav1.TableRow }{ {
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/proxy/ipvs/proxier_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
// Sources are not ready yet. Don't remove any pods. if expect, actual := []types.UID(nil), kubelet.podWorkers.(*fakePodWorkers).triggeredDeletion; !reflect.DeepEqual(expect, actual) { t.Fatalf("expected %v kills, got %v", expect, actual) } ready = true kubelet.HandlePodRemoves(pods) time.Sleep(2 * time.Second) // Sources are ready. Remove unwanted pods.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
} expected := test.expected.DeepCopy() actual := kl.generateAPIPodStatus(test.pod, test.currentStatus, test.isPodTerminal) if enablePodReadyToStartContainersCondition { expected.Conditions = append([]v1.PodCondition{test.expectedPodReadyToStartContainersCondition}, expected.Conditions...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
src/net/http/serve_test.go
} if cl, expected := res.ContentLength, int64(3); cl != expected { t.Errorf("for %s expected res.ContentLength of %d; got %d", url, expected, cl) } if cl, expected := res.Header.Get("Content-Length"), "3"; cl != expected { t.Errorf("for %s expected Content-Length header of %q; got %q", url, expected, cl) } if tl, expected := len(res.TransferEncoding), 0; tl != expected {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
if !ok { t.Fatalf("Expect the object to be a pod, but got %#v", obj) } if pod.ObjectMeta.DeletionTimestamp == nil { t.Errorf("%v: Expect the object to have DeletionTimestamp set, but got %#v", pod.Name, pod.ObjectMeta) } if pod.ObjectMeta.DeletionGracePeriodSeconds == nil || *pod.ObjectMeta.DeletionGracePeriodSeconds != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
if !found { t.Error("Expected inodes free nodefs observation") } if expected := int64(nodeFsInodesFree); nodeFsInodesQuantity.available.Value() != expected { t.Errorf("Expected %v, actual: %v", expected, nodeFsInodesQuantity.available.Value()) } if expected := int64(nodeFsInodes); nodeFsInodesQuantity.capacity.Value() != expected {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
// expected-error @+2 {{failed to infer returned types}} // expected-error @+1 {{input should be of rank larger than 0}} %0:3 = "tfl.unpack"(%arg0) {axis = 0 : i32, num = 3 : i32} : (tensor<i32>) -> (tensor<2xi32>, tensor<2xi32>, tensor<2xi32>) func.return %0#0 : tensor<2xi32> } // ----- func.func @unpack(%arg0: tensor<2x3xi32>) -> tensor<2xi32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0)