- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,185 for expectGet (0.2 sec)
-
pkg/apis/storage/v1beta1/defaults_test.go
outAttach := output.Spec.AttachRequired if outAttach == nil { t.Errorf("Expected AttachRequired to be defaulted to: %+v, got: nil", defaultAttach) } else if *outAttach != defaultAttach { t.Errorf("Expected AttachRequired to be defaulted to: %+v, got: %+v", defaultAttach, outAttach) } outPodInfo := output.Spec.PodInfoOnMount if outPodInfo == nil { t.Errorf("Expected PodInfoOnMount to be defaulted to: %+v, got: nil", defaultPodInfo)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config_test.go
expected: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { LocalIPAddrs = tt.lipas _, isV6, err := getLocalIP(tt.isDS) if err != nil { t.Errorf("getLocalIP err: %s", err) } if isV6 != tt.expected { t.Errorf("unexpected EnableIPv6 result, expected: %t got: %t", tt.expected, isV6) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/certs/util.go
// by the expected CA func AssertCertificateIsSignedByCa(t *testing.T, cert *x509.Certificate, signingCa *x509.Certificate) { if err := cert.CheckSignatureFrom(signingCa); err != nil { t.Error("cert is not signed by signing CA as expected") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 9.1K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
func (sr *statsResults) checkSimilarDistribution(expected *statsResults) error { if !nearEqual(sr.mean, expected.mean, expected.closeEnough, expected.maxError) { s := fmt.Sprintf("mean %v != %v (allowed error %v, %v)", sr.mean, expected.mean, expected.closeEnough, expected.maxError) fmt.Println(s) return errors.New(s) } if !nearEqual(sr.stddev, expected.stddev, expected.closeEnough, expected.maxError) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/volume/util/nested_volumes_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy
@Override void assertApiDependencies(String... expected) { features.each { feature -> assertDependencies(feature, 'apiElements', 'compile', [], expected) assert parsedModuleMetadata.variant('runtimeElements').dependencies*.coords.containsAll(expected) } } @Override void assertRuntimeDependencies(String... expected) { features.each { feature ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 9.3K 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)