- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 573 for testCases (0.32 sec)
-
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go
if diff := cmp.Diff(tt.want, got); diff != "" { t.Errorf("unexpected status (-want, +got):\n%s", diff) } }) } } func Test_isSchedulableAfterPodChange(t *testing.T) { testcases := map[string]struct { pod *v1.Pod oldObj, newObj interface{} expectedHint framework.QueueingHint expectedErr bool }{ "backoff-wrong-old-object": { pod: &v1.Pod{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessBuilderInstrumentationInDynamicGroovyIntegrationTest.groovy
/** * Test cases for {@code ProcessBuilder.start}. */ class ProcessBuilderInstrumentationInDynamicGroovyIntegrationTest extends AbstractProcessInstrumentationInDynamicGroovyIntegrationTest { @Override def testCases() { return [ // ProcessBuilder.start() // varInitializer | processCreator | expectedPwdSuffix | expectedEnvVar [fromStringArray(), "new ProcessBuilder(command).start()", "", ""],
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.3K bytes - Viewed (0) -
src/reflect/type_test.go
myiface interface{} ) testcases := []struct { wantFrom any got reflect.Type }{ {new(int), reflect.TypeFor[int]()}, {new(int64), reflect.TypeFor[int64]()}, {new(string), reflect.TypeFor[string]()}, {new(mystring), reflect.TypeFor[mystring]()}, {new(any), reflect.TypeFor[any]()}, {new(myiface), reflect.TypeFor[myiface]()}, } for _, tc := range testcases {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/proxy/iptables/number_generated_rules_test.go
// on their changes. It also runs multiple number of rules test cases to check // if the number of rules grows linearly. func TestNumberIptablesRules(t *testing.T) { testCases := []struct { name string epsFunc func(eps *discovery.EndpointSlice) svcFunc func(svc *v1.Service) services int epPerService int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.1K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
}, } // Iterating over the cases, fetching the policy and validating the response. for i, testCase := range testCases { // expected bucket policy json string. expectedBucketPolicyStr := fmt.Sprintf(testCase.expectedBucketPolicy, testCase.bucketName, testCase.bucketName) // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV4 := httptest.NewRecorder()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
pilot/pkg/networking/core/extension/wasmplugin_test.go
EnvironmentVariables: &wasmextension.EnvironmentVariables{ KeyValues: map[string]string{ "ISTIO_META_WASM_PLUGIN_RESOURCE_VERSION": "", }, }, }, }, }, }) testCases := []struct { name string wasmPlugins []*model.WasmPluginWrapper names []string expectedECs []*core.TypedExtensionConfig }{ { name: "empty",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
// ======================================================================= func TestPrefix(t *testing.T) { testcases := map[string]string{ "custom/prefix": "/custom/prefix/", "/custom//prefix//": "/custom/prefix/", "/registry": "/registry/", } for configuredPrefix, effectivePrefix := range testcases { _, store, _ := testSetup(t, withPrefix(configuredPrefix)) if store.pathPrefix != effectivePrefix {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go
} func TestAuthenticate(t *testing.T) { primaryCluster := constants.DefaultClusterName remoteCluster := cluster.ID("remote") invlidToken := "invalid-token" meshHolder := mockMeshConfigHolder{"example.com"} testCases := map[string]struct { remoteCluster bool metadata metadata.MD token string expectedID string expectedErrMsg string }{ "No bearer token": { metadata: metadata.MD{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics_test.go
metrics := []string{ "apiserver_validating_admission_policy_definition_total", "apiserver_validating_admission_policy_check_total", "apiserver_validating_admission_policy_check_duration_seconds", } testCases := []struct { desc string want string observer metricsObserver }{ { desc: "observe policy admission", want: `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 6.9K bytes - Viewed (0)