- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 579 for expectGet (0.23 sec)
-
pkg/controller/daemon/util/daemonset_util_test.go
t.Errorf("Expected podTemplateSpec to have no hash label, got: %s", val) } } } func TestReplaceDaemonSetPodNodeNameNodeAffinity(t *testing.T) { tests := []struct { affinity *v1.Affinity hostname string expected *v1.Affinity }{ { affinity: nil, hostname: "host_1", expected: &v1.Affinity{ NodeAffinity: &v1.NodeAffinity{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
assert.NoError(t, err) assert.Equal(t, test.expected.CpuPeriod, linuxConfig.GetResources().CpuPeriod, test.name) assert.Equal(t, test.expected.CpuQuota, linuxConfig.GetResources().CpuQuota, test.name) assert.Equal(t, test.expected.CpuShares, linuxConfig.GetResources().CpuShares, test.name) assert.Equal(t, test.expected.MemoryLimitInBytes, linuxConfig.GetResources().MemoryLimitInBytes, test.name) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
if len(tt.expected) != len(nodes) { t.Errorf("number of nodes is not the same as expected. exptectd: %d, got: %d. Nodes: %v", len(tt.expected), len(nodes), nodes) } for _, node := range nodes { name := node.Node().Name if _, found := tt.expected[name]; !found { t.Errorf("node %v is not expected.", name) } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo_test.go
}, mounter volume.Mounter) []error { expecteds := scenario.expecteds allErrs := []error{} // Construct combined outputs from expected commands var fakeOutputs []fakeexec.FakeAction var fcmd fakeexec.FakeCmd for _, expected := range expecteds { expected := expected if expected.cmd[1] == "clone" { // Calculate the subdirectory clone would create (if any)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 08:26:26 UTC 2024 - 12K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
unmounters := plugin.GetUnmounters() if len(unmounters) == 0 && (expected == 0) { return nil } actualCallCount := 0 for _, unmounter := range unmounters { actualCallCount = unmounter.GetTearDownCallCount() if actualCallCount == expected { return nil } } return fmt.Errorf("expected TearDown calls %d, got %d", expected, actualCallCount)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_test.go
expected: kubecontainer.ContainerStateUnknown, }, { name: "not supported state", state: 4, expected: kubecontainer.ContainerStateUnknown, }, } { t.Run(test.name, func(t *testing.T) { if result := toKubeContainerState(runtimeapi.ContainerState(test.state)); result != test.expected { t.Errorf("expected %s but got %s", test.expected, result) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/proxy/util/nodeport_addresses_test.go
npa := NewNodePortAddresses(family, tc.cidrs) if npa.MatchAll() != tc.expected[family].matchAll { t.Errorf("unexpected MatchAll(%s), expected: %v", family, tc.expected[family].matchAll) } ips, err := npa.GetNodeIPs(nw) expectedIPs := tc.expected[family].ips // The fake InterfaceAddrs() never returns an error, so // the only error GetNodeIPs will return is "no
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
if test.expectVal != value { t.Fatalf("expected value does not match, expected: %d, got: %d", test.expectVal, value) } if test.expectPerc != isPercent { t.Fatalf("expected percent does not match, expected: %t, got: %t", test.expectPerc, isPercent) } if test.expectErr != (err != nil) { t.Fatalf("expected error does not match, expected error: %v, got: %v", test.expectErr, err) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
fqid == 'compilation:java:java-compilation-error' details == '\';\' expected' } verifyAll(receivedProblem(1)) { assertProblem(it, "ERROR", true) fqid == 'compilation:java:java-compilation-error' details == '\';\' expected' } result.error.contains("2 errors\n") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0)