- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 279 for tc (0.05 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go
throwError: tc.throwError, }, messageFilter: &fakeCelFilter{ evaluations: tc.messageEvaluations, throwError: tc.throwError, }, auditAnnotationFilter: &fakeCelFilter{ evaluations: tc.auditEvaluations, throwError: tc.throwError, }, } ctx := context.TODO() var budget int64 = celconfig.RuntimeCELCostBudget if tc.costBudget != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 24.7K bytes - Viewed (0) -
src/image/jpeg/reader_test.go
} for _, tc := range testCases { m0, err := decodeFile(tc + ".jpeg") if err != nil { t.Errorf("%s: %v", tc+".jpeg", err) continue } m1, err := decodeFile(tc + ".progressive.jpeg") if err != nil { t.Errorf("%s: %v", tc+".progressive.jpeg", err) continue } if m0.Bounds() != m1.Bounds() { t.Errorf("%s: bounds differ: %v and %v", tc, m0.Bounds(), m1.Bounds()) continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 24.4K bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
}, { certs1: []string{"a", "b"}, certs2: []string{"a", "b"}, expSame: true, }, } for _, tc := range testCases { certSame := slices.Equal(tc.certs1, tc.certs2) if (certSame && !tc.expSame) || (!certSame && tc.expSame) { t.Errorf("cert compare testcase failed. tc: %v", tc) } } } func TestVerifyTrustAnchor(t *testing.T) { testCases := []struct { errExp bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
}, } for _, tc := range testCases { t.Run(tc.desc, func(t *testing.T) { podWorkers, _, _ := createPodWorkers() if tc.podSyncStatuses != nil { podWorkers.podSyncStatuses = tc.podSyncStatuses } if tc.startedStaticPodsByFullname != nil { podWorkers.startedStaticPodsByFullname = tc.startedStaticPodsByFullname } if tc.waitingToStartStaticPodsByFullname != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K 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) -
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) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy
.mutate(NativeToolChainRegistry) { it.add toolChain("tc") } .mutate(PlatformContainer) { it.add named(NativePlatformInternal, "platform") } .mutate(BuildTypeContainer) { it.add named(BuildType, "bt") } .mutate(FlavorContainer) { it.add named(Flavor, "flavor1") } then: single(toolChains).name == 'tc' platforms.size() == 1 single(buildTypes).name == 'bt'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:55 UTC 2024 - 9.8K bytes - Viewed (0) -
pkg/registry/apps/statefulset/strategy_test.go
// old obj should never be changed if diff := cmp.Diff(tc.oldSS, old); diff != "" { t.Fatalf("%v: old statefulSet changed: %v", tc.name, diff) } if diff := cmp.Diff(tc.expectedSS, tc.ss); diff != "" { t.Fatalf("%v: unexpected statefulSet spec: %v, want %v, got %v", tc.name, diff, tc.expectedSS, tc.ss) } }) } } func TestStatefulSetStartOrdinalEnablement(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.1K bytes - Viewed (0) -
tests/integration/telemetry/policy/helper_test.go
client, to := setupEcho(t, mode) for _, tc := range cases { t.NewSubTest(tc.Name).Run(func(t framework.TestContext) { client.CallOrFail(t, echo.CallOptions{ To: to, Count: 1, Port: echo.Port{ Name: tc.PortName, }, HTTP: echo.HTTP{ HTTP2: tc.HTTP2, Headers: headers.New().WithHost(tc.Host).Build(), },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
// We therefore use `ElementsMatch` instead of `Equal` on the member slices. as.ElementsMatch(tc.expected.Annotations, opts.Annotations) as.ElementsMatch(tc.expected.CDIDevices, opts.CDIDevices) as.ElementsMatch(tc.expected.Devices, opts.Devices) as.ElementsMatch(tc.expected.Envs, opts.Envs) as.ElementsMatch(tc.expected.Mounts, opts.Mounts) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0)