- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 132 for expectedly (0.22 sec)
-
pkg/proxy/util/endpoints_test.go
} for _, tc := range testCases { ip := IPPart(tc.endpoint) if tc.expectedError == noError { if ip != tc.expectedIP { t.Errorf("Unexpected IP for %s: Expected: %s, Got %s", tc.endpoint, tc.expectedIP, ip) } } else if ip != "" { t.Errorf("Error did not occur for %s, expected: '%s' error", tc.endpoint, tc.expectedError) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/constants/constants_test.go
manifestsDir: "/etc/bar/", expected: "/etc/bar/foo.yaml", }, } for _, rt := range tests { t.Run(rt.componentName, func(t *testing.T) { actual := GetStaticPodFilepath(rt.componentName, rt.manifestsDir) expected := filepath.FromSlash(rt.expected) if actual != expected { t.Errorf( "failed GetStaticPodFilepath:\n\texpected: %s\n\t actual: %s", rt.expected, actual, ) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 03:26:36 UTC 2024 - 10.7K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
Namespace: namespace, }, Data: data, } } func checkActions(actual, expected []ktesting.Action) error { if len(actual) != len(expected) { return fmt.Errorf("unexpected number of actions, want %d but got %d, %v", len(expected), len(actual), actual) } for i, action := range actual { expectedAction := expected[i] verb := expectedAction.GetVerb() resource := expectedAction.GetResource().Resource
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
security/pkg/pki/util/generate_csr_test.go
} } func TestGenCSRTemplateForDualUse(t *testing.T) { tt := map[string]struct { host string expectedCN string }{ "Single host": { host: "bla.com", expectedCN: "bla.com", }, "Multiple hosts": { host: "a.org,b.net,c.groups", expectedCN: "a.org", }, } for _, tc := range tt { opts := CertOptions{ Host: tc.host,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 25 09:40:13 UTC 2022 - 5.5K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux_test.go
ab := NewCgroupName(a, "b") expectedAB := CgroupName([]string{"a", "", "b"}) if !reflect.DeepEqual(ab, expectedAB) { t.Errorf("Expected %d%+v; got %d%+v", len(expectedAB), expectedAB, len(ab), ab) } abc := NewCgroupName(ab, "c") expectedABC := CgroupName([]string{"a", "", "b", "c"}) if !reflect.DeepEqual(abc, expectedABC) { t.Errorf("Expected %d%+v; got %d%+v", len(expectedABC), expectedABC, len(abc), abc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/codec_test.go
kind, ok := v.KindForGroupVersionKinds(tc.kinds) if !ok { t.Error("got no kind") } if kind != tc.expectKind { t.Errorf("expected %#v, got %#v", tc.expectKind, kind) } if e, a := tc.expectedId, v.Identifier(); e != a { t.Errorf("unexpected identifier: %s, expected: %s", a, e) } }) } } type mockEncoder struct{} func (m *mockEncoder) Encode(obj runtime.Object, w io.Writer) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 30 06:58:54 UTC 2019 - 3.7K bytes - Viewed (0) -
tests/integration/security/util/secret/secret.go
const IstioDNSSecretType = "istio.io/dns-key-and-cert" // ExamineDNSSecretOrFail calls ExamineDNSSecret and fails t if an error occurs. func ExamineDNSSecretOrFail(t test.Failer, secret *v1.Secret, expectedID string) { t.Helper() if err := ExamineDNSSecret(secret, expectedID); err != nil { t.Fatal(err) } } // ExamineDNSSecret examines the content of a secret containing DNS secret to make sure that // * Secret type is correctly set;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 22 04:04:14 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/arguments_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 8.9K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
}, }, } for _, podIn := range podsIn { expected := podStart expected.ResourceVersion = "2" grace := int64(30) enableServiceLinks := v1.DefaultEnableServiceLinks expected.Spec.TerminationGracePeriodSeconds = &grace expected.Spec.RestartPolicy = api.RestartPolicyAlways expected.Spec.DNSPolicy = api.DNSClusterFirst expected.Spec.EnableServiceLinks = &enableServiceLinks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
src/crypto/elliptic/p256_test.go
y, _ := new(big.Int).SetString(e.yIn, 16) k, _ := new(big.Int).SetString(e.k, 16) expectedX, _ := new(big.Int).SetString(e.xOut, 16) expectedY, _ := new(big.Int).SetString(e.yOut, 16) xx, yy := p256.ScalarMult(x, y, k.Bytes()) if xx.Cmp(expectedX) != 0 || yy.Cmp(expectedY) != 0 { t.Errorf("#%d: got (%x, %x), want (%x, %x)", i, xx, yy, expectedX, expectedY) } } } type synthCombinedMult struct { Curve }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 16:58:48 UTC 2022 - 4.2K bytes - Viewed (0)