Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,718 for testPass (0.35 sec)

  1. cmd/kubelet/app/options/options_test.go

    			err:           false,
    			expectArgs:    true,
    		},
    	}
    	for _, testCase := range testCases {
    		modifiedFlags := testCase.inputFlags()
    		args := asArgs(modifiedFlags.AddFlags, testCase.flagDefaulter)
    		if testCase.expectArgs != (len(args) > 0) {
    			t.Errorf("%s: unexpected args: %v", testCase.name, args)
    			continue
    		}
    		t.Logf("%s: args: %v", testCase.name, args)
    		flagSet := pflag.NewFlagSet("output", pflag.ContinueOnError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    	}
    	for i, testCase := range testCases {
    		result, err := obj.GetObjectInfo(context.Background(), testCase.bucketName, testCase.objectName, opts)
    		if err != nil && testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    		}
    		if err == nil && !testCase.shouldPass {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/authorization_test.go

    		},
    	}
    
    	for _, testcase := range testCases {
    		t.Run(testcase.name, func(t *testing.T) {
    			options := NewBuiltInAuthorizationOptions()
    			options.Modes = testcase.modes
    			options.WebhookConfigFile = testcase.webhookConfigFile
    			options.WebhookRetryBackoff = testcase.webhookRetryBackoff
    			options.PolicyFile = testcase.policyFile
    
    			errs := options.Validate()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    				resultV, err = obj.ListObjectVersions(context.Background(), testCase.bucketName,
    					testCase.prefix, testCase.marker, "", testCase.delimiter, testCase.maxKeys)
    			} else {
    				t.Log("ListObjects, bucket:", testCase.bucketName, "prefix:",
    					testCase.prefix, "marker:", testCase.marker, "delimiter:",
    					testCase.delimiter, "maxkeys:", testCase.maxKeys)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/object-api-deleteobject_test.go

    			[]string{"object0"},
    		},
    	}
    
    	for i, testCase := range testCases {
    		err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-test-aggregation-standalone/tests/testTask.sample.conf

    commands: [{
        executable: gradle
        args: testAggregateTestReport
        expected-output-file: testTask.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 180 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/spring-boot-web-application/tests/testTask.sample.conf

    commands: [{
        executable: gradle
        args: test
        expected-output-file: testTask.out
    # Do not fail for deprecation warnings: Project.getConvention; Spring boot 3.0.2+ no longer uses that API
        flags: "--warning-mode=none"
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 266 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object/matcher_test.go

    			}}}
    
    		t.Run(testcase.name, func(t *testing.T) {
    			match, err := matcher.MatchObjectSelector(webhook.NewValidatingWebhookAccessor("mock-hook", "mock-cfg", hook), testcase.attrs)
    			if err != nil {
    				t.Error(err)
    			}
    			if testcase.expectCall && !match {
    				t.Errorf("expected the webhook to be called")
    			}
    			if !testcase.expectCall && match {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 26 00:41:14 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy

            result.testClass("TagATests").assertTestCount(4, 0, 0)
            result.testClass("TagATests").assertTestsExecuted('tagAOk1', 'tagAOk2', 'tagAOk3', 'tagAOk4')
            result.testClass("TagADTests").assertTestCount(3, 0, 0)
            result.testClass("TagADTests").assertTestsExecuted('tagAOk1', 'tagAOk2', 'tagDOk4')
            result.testClass("MixedTests").assertTestCount(2, 0, 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  10. pkg/kubelet/config/http_test.go

    				Spec: v1.PodSpec{
    					Containers: []v1.Container{{Name: "_INVALID_"}},
    				},
    			},
    		},
    	}
    	for _, testCase := range testCases {
    		data, err := json.Marshal(testCase.pod)
    		if err != nil {
    			t.Fatalf("%s: Some weird json problem: %v", testCase.desc, err)
    		}
    		fakeHandler := utiltesting.FakeHandler{
    			StatusCode:   http.StatusOK,
    			ResponseBody: string(data),
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 11.2K bytes
    - Viewed (0)
Back to top