- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 111 for tc (0.02 sec)
-
tests/integration/pilot/workloadentry_test.go
targetPortFunc: func(nw string) int { return 0 }, networkNameFunc: func(nw string) string { return nw + "-manual-discovery" }, }, } for _, tc := range testCases { tc := tc t.NewSubTest(tc.name).Run(func(t framework.TestContext) { for network, networkClusters := range t.Clusters().ByNetwork() { weClusters := t.Clusters().Configs(networkClusters...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go
accessor.liveLookupCache = liveLookupCache for _, q := range tc.cacheInput { quota := q liveLookupCache.Add(quota.Namespace, liveLookupEntry{expiry: time.Now().Add(tc.ttl), items: []*corev1.ResourceQuota{quota}}) } quotas, err := accessor.GetQuotas(tc.namespace) if err != nil { t.Errorf("Unexpected error: %v", err) } if tc.expectedQuota != nil { if count := len(quotas); count != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load_test.go
}, } for _, tc := range testcases { t.Run(tc.name, func(t *testing.T) { config, err := LoadFromData(tc.data) if err != nil { if len(tc.expectErr) == 0 { t.Fatalf("unexpected error: %v", err) } if !strings.Contains(err.Error(), tc.expectErr) { t.Fatalf("unexpected error: %v", err) } return } if len(tc.expectErr) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 07:00:31 UTC 2024 - 8.3K bytes - Viewed (0) -
operator/pkg/util/k8s_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/util/filesystem/util_test.go
{path: "\\var\\.\\lib\\something", expected: false}, {path: "C:\\var\\.\\lib\\something", expected: false}, }...) } for _, tc := range cases { actual := IsPathClean(tc.path) if actual != tc.expected { t.Errorf("actual: %t, expected: %t, for path: %s\n", actual, tc.expected, tc.path) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 3.8K bytes - Viewed (0) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
to: apps.NS[0].B, }, } for _, tc := range testCases { t.NewSubTest(tc.name).Run(func(t framework.TestContext) { tc.from[0].CallOrFail(t, echo.CallOptions{ To: tc.to, Port: echo.Port{ Protocol: protocol.HTTP, ServicePort: 80, }, Check: check.And( check.ErrorOrStatus(tc.statusCode), ), }) }) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/multi_root_test.go
to echo.Instances expect bool }{ { from: client, to: serverNakedFooAlt, expect: true, }, } for _, tc := range cases { verify(t, tc.from, tc.to, scheme.HTTP, tc.expect) } }) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go
expectedValue: true, }, } { t.Run(tc.name, func(t *testing.T) { _, option := mutation.NewTypeProviderAndEnvOption(&TypeResolver{}) env := mustCreateEnv(t, option) ast, issues := env.Compile(tc.expression) if issues != nil { t.Fatalf("unexpected issues during compilation: %v", issues) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics_test.go
} RegisterMetrics() for _, tc := range testCases { authenticationConfigAutomaticReloadLastTimestampSeconds.Reset() authenticationConfigAutomaticReloadLastTimestampSeconds.WithLabelValues(tc.resultLabel, testAPIServerIDHash).Set(float64(tc.timestamp)) if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(tc.expectedValue), metrics...); err != nil { t.Fatal(err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/integration/pilot/mirror_test.go
tc.percentage, actualPercent, tc.threshold, testID) log.Infof("%v", err) merr = multierror.Append(merr, err) } else { log.Infof("Got expected mirror traffic. Expected %g%%, got %.1f%% (threshold: %g%%, , testID: %s)", tc.percentage, actualPercent, tc.threshold, testID) } return merr.ErrorOrNil() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.7K bytes - Viewed (0)