Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,057 for Runner (0.12 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "4.0"
        }
    
        def "build with #parallelWorkers parallel workers"() {
            given:
            runner.tasksToRun = ['build']
            runner.warmUpRuns = 5
            runner.runs = 10
    
            runner.args += ["-Dorg.gradle.parallel=${parallelWorkers ? true : false}"]
            if (parallelWorkers) {
                runner.args += ["--max-workers=$parallelWorkers".toString()]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            given:
            runner.tasksToRun = ["assemble"]
            // use the deprecated property so it works with previous versions
            runner.args = ["-D${ConfigurationCacheOption.DEPRECATED_PROPERTY_NAME}=true"]
    
            and:
            runner.useDaemon = daemon == hot
            runner.addBuildMutator { configurationCacheInvocationListenerFor(it, action, stateDirectory) }
            runner.warmUpRuns = daemon == hot ? 20 : 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDETaskExecutionPerformanceTest.groovy

            }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference()
        }
    
        private setupRunner() {
            def iterations = determineIterations()
            runner.warmUpRuns = iterations
            runner.runs = iterations
        }
    
        private determineIterations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/util/async/bounded_frequency_runner_test.go

    }
    
    func Test_BoundedFrequencyRunnerNoBurst(t *testing.T) {
    	obj := &receiver{}
    	timer := newFakeTimer()
    	runner := construct("test-runner", obj.F, minInterval, maxInterval, 1, timer)
    	stop := make(chan struct{})
    
    	var upd timerUpdate
    
    	// Start.
    	go runner.Loop(stop)
    	upd = <-timer.updated // wait for initial time to be set to max
    	checkTimer("init", t, upd, true, maxInterval)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/SwiftBuildPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = '4.6'
        }
    
        def "up-to-date assemble (swift)"() {
            given:
            runner.tasksToRun = ["assemble"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        def "incremental compile"() {
            given:
            runner.tasksToRun = ["assemble"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/configurationCache/testKit/groovy/src/test/groovy/org/example/BuildLogicFunctionalTest.groovy

    package org.example
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import static org.gradle.testkit.runner.TaskOutcome.*
    
    class BuildLogicFunctionalTest extends Specification {
    
        @TempDir File testProjectDir
        File buildFile
    
        def setup() {
            new File(testProjectDir, 'settings.gradle') << ""
            buildFile = new File(testProjectDir, 'build.gradle')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/CurrentBuildOperationPreservingRunnableTest.groovy

            // Set the current build operation to a known value for initializing the runner
            currentBuildOperationRef.set(EXPECTED_INNER_BUILD_OPERATION)
            def runner = runner()
            // Then act as if we've been moved to a code section with a new build operation active
            currentBuildOperationRef.set(EXPECTED_OUTER_BUILD_OPERATION)
    
            when:
            runner.run()
    
            then:
            1 * delegate.run() >> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/plugin.go

    		},
    		runner:   runner,
    		spec:     spec,
    		readOnly: readOnly,
    	}, nil
    }
    
    // NewUnmounter is part of the volume.VolumePlugin interface.
    func (plugin *flexVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top