Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for isDryRun (0.11 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitSpec.java

        private final boolean isDryRun;
    
        public JUnitSpec(
            TestFilterSpec filter,
            Set<String> includeCategories,
            Set<String> excludeCategories,
            boolean isDryRun
        ) {
            this.filter = filter;
            this.includeCategories = includeCategories;
            this.excludeCategories = excludeCategories;
            this.isDryRun = isDryRun;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformSpec.java

        private final Set<String> excludeTags;
        private final boolean isDryRun;
    
        public JUnitPlatformSpec(
            TestFilterSpec filter,
            Set<String> includeEngines,
            Set<String> excludeEngines,
            Set<String> includeTags,
            Set<String> excludeTags,
            boolean isDryRun
        ) {
            this.filter = filter;
            this.includeEngines = includeEngines;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskProperties.java

        ) {
            this.usingJUnitPlatform = usingJUnitPlatform;
            this.forkEvery = forkEvery;
            this.isDryRun = isDryRun;
            this.filters = filters;
            this.forkOptions = forkOptions;
            this.candidateClassFiles = candidateClassFiles;
            this.inputFileProperties = inputFileProperties;
            this.outputFileProperties = outputFileProperties;
        }
    
        @Override
        public boolean isUsingJUnitPlatform() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

            this.listeners = listeners;
            this.configFailurePolicy = configFailurePolicy;
            this.preserveOrder = preserveOrder;
            this.groupByInstances = groupByInstances;
            this.isDryRun = isDryRun;
        }
    
        public TestFilterSpec getFilter() {
            return filter;
        }
    
        public Set<String> getListeners() {
            return listeners;
        }
    
        public Set<String> getExcludeGroups() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/dryrun/dryrun.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package dryrun
    
    // IsDryRun returns true if the DryRun flag is an actual dry-run.
    func IsDryRun(flag []string) bool {
    	return len(flag) > 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 06 16:34:42 UTC 2022
    - 713 bytes
    - Viewed (0)
  6. pkg/webhooks/validation/server/server.go

    	serve(w, r, wh.validate)
    }
    
    func (wh *Webhook) validate(request *kube.AdmissionRequest) *kube.AdmissionResponse {
    	isDryRun := request.DryRun != nil && *request.DryRun
    	addDryRunMessageIfNeeded := func(errStr string) error {
    		err := fmt.Errorf("%s", errStr)
    		if isDryRun {
    			err = fmt.Errorf("%s (dry run)", err)
    		}
    		return err
    	}
    	switch request.Operation {
    	case kube.Create, kube.Update:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/etcd/local.go

    	if cfg.Etcd.External != nil {
    		return errors.New("etcd static pod manifest cannot be generated for cluster using external etcd")
    	}
    
    	if err := prepareAndWriteEtcdStaticPod(manifestDir, patchesDir, cfg, endpoint, nodeName, []etcdutil.Member{}, isDryRun); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/DryRunBuildExecutionActionTest.groovy

            def task2 = Mock(TaskInternal.class)
            def category = DryRunBuildExecutionAction.class.name
            def contents = Mock(QueryableExecutionPlan)
    
            given:
            startParameter.isDryRun() >> true
            executionPlan.contents >> contents
            contents.tasks >> toList(task1, task2)
    
            when:
            action.execute(gradle, executionPlan)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    				return
    			}
    
    			var attr admission.Attributes
    			if tt.IsCRD {
    				attr = webhooktesting.NewAttributeUnstructured(ns, tt.AdditionalLabels, tt.IsDryRun)
    			} else {
    				attr = webhooktesting.NewAttribute(ns, tt.AdditionalLabels, tt.IsDryRun)
    			}
    
    			b.ResetTimer()
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					wh.Admit(context.TODO(), attr, objectInterfaces)
    				}
    			})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    		},
    	}
    
    	return []DurationTest{
    		{
    			Name:                "duration test",
    			IsDryRun:            false,
    			InitContext:         true,
    			Webhooks:            webhooks,
    			ExpectedDurationSum: 500,
    			ExpectedDurationMax: 400,
    		},
    		{
    			Name:                "duration dry run",
    			IsDryRun:            true,
    			InitContext:         true,
    			Webhooks:            webhooks,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
Back to top