- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,383 for EQUAL (1.09 sec)
-
pkg/volume/flexvolume/probe_test.go
} // Act events, err := prober.Probe() // Assert assert.Equal(t, 2, len(events)) assert.Equal(t, volume.ProbeAddOrUpdate, events[0].Op) assert.Equal(t, volume.ProbeAddOrUpdate, events[1].Op) assert.NoError(t, err) for i := 0; i < iterations-1; i++ { events, err = prober.Probe() assert.Equal(t, 0, len(events)) assert.NoError(t, err) } } func TestProberError(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 10.5K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission_test.go
namespaceTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}}, podTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}}, mergedTolerations: []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}, {Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_windows_test.go
assert.NoError(err) assert.Equal(summary.Node.NodeName, "test-node") assert.Equal(summary.Node.StartTime, systemBootTime) assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU) assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory) assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns) assert.Equal(summary.Node.Fs, rootFsStats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go
remoteAddr: expectedRemoteAddr, }, } assert.Equal(t, expectedLocalAddr, tc.LocalAddr(), "LocalAddr() returns expected TCPAddr") assert.Equal(t, expectedRemoteAddr, tc.RemoteAddr(), "RemoteAddr() returns expected TCPAddr") // Connection nil, returns empty address tc.conn = nil assert.Equal(t, noopAddr{}, tc.LocalAddr(), "nil connection, LocalAddr() returns noopAddr")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 02:21:50 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters_test.go
exp = filepath.Join(root, "pods") assert.Equal(t, exp, got) got = kubelet.getPodLogsDir() assert.Equal(t, kubelet.podLogsDirectory, got) got = kubelet.getPluginsDir() exp = filepath.Join(root, "plugins") assert.Equal(t, exp, got) got = kubelet.getPluginsRegistrationDir() exp = filepath.Join(root, "plugins_registry") assert.Equal(t, exp, got) got = kubelet.getPluginDir("foobar")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
assert.NoError(err) assert.Equal(imageFsUsage.Timestamp, stats.Time.UnixNano()) assert.Equal(imageFsInfo.Available, *stats.AvailableBytes) assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes) assert.Equal(imageFsInfo.InodesFree, stats.InodesFree) assert.Equal(imageFsInfo.Inodes, stats.Inodes) assert.Equal(imageFsUsage.UsedBytes.Value, *stats.UsedBytes) assert.Equal(imageFsUsage.InodesUsed.Value, *stats.InodesUsed)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go
equal: false, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { // Compare types with schema against themselves if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:30:17 UTC 2023 - 17.7K bytes - Viewed (0) -
pilot/pkg/keycertbundle/watcher_test.go
if !bytes.Equal(keyCertBundle.KeyPem, key) || !bytes.Equal(keyCertBundle.CertPem, cert) || !bytes.Equal(keyCertBundle.CABundle, ca) { t.Errorf("got wrong keyCertBundle %v", keyCertBundle) } default: t.Errorf("watcher1 watched non keyCertBundle") } select { case <-watch2: keyCertBundle := watcher.GetKeyCertBundle()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 28 17:46:00 UTC 2022 - 3.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
g.Expect(policy.RetryOn).To(Equal("some,fake,conditions")) g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3))) g.Expect(policy.NumRetries.Value).To(Equal(uint32(2))) g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0))) g.Expect(policy.RetryPriority).To(BeNil()) g.Expect(policy.HostSelectionRetryMaxAttempts).To(Equal(retry.DefaultPolicy().HostSelectionRetryMaxAttempts))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go
if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } b = sets.New("1", "2", "") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } // Check for equality after mutation a = sets.New[string]() a.Insert("1") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } a.Insert("2") if a.Equal(b) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 09:03:44 UTC 2023 - 7.7K bytes - Viewed (0)