Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for stopCh (0.13 sec)

  1. subprojects/core/src/main/java/org/gradle/api/tasks/Exec.java

     * <pre class='autoTested'>
     * task stopTomcat(type:Exec) {
     *   workingDir '../tomcat/bin'
     *
     *   //on windows:
     *   commandLine 'cmd.exe', '/d', '/c', 'stop.bat'
     *
     *   //on linux
     *   commandLine './stop.sh'
     *
     *   //store the output instead of printing to the console:
     *   standardOutput = new ByteArrayOutputStream()
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuterTest.groovy

            then:
            1 * loggingManager.addOutputEventListener(!null)
            1 * loggingManager.start()
            1 * target.execute(action, parameters, buildRequestContext)
            1 * loggingManager.stop()
        }
    
        def restoresLoggingWhenActionFails() {
            def failure = new RuntimeException()
    
            when:
            executer.execute(action, parameters, buildRequestContext)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginBackgroundJobExecutorsTest.groovy

        }
    
        void cleanup() {
            jobExecutors.stop()
        }
    
        def "background job is executed"() {
            when:
            def task = new FutureTask<>(() -> 1)
            jobExecutors.userJobExecutor.execute(task)
    
            then:
            task.get() == 1
        }
    
        def "background job is rejected if submitted after shutdown"() {
            given:
            jobExecutors.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/PersistentDaemonRegistryTest.groovy

            registry.markState(address, Idle)
    
            then:
            registry.all.empty
        }
    
        def "safely removes stop events when empty"() {
            when:
            registry.removeStopEvents([])
    
            then:
            registry.stopEvents.empty
        }
    
        def "clears single stop event when non-empty"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/RunBuildActionTest.groovy

                assert context.client == clientMetaData
                assert context.startTime == startTime
                assert build == parameters
                return BuildActionResult.of(null)
            }
            1 * stoppable.stop()
            0 * _._
        }
    
        def throwsExceptionOnBuildFailure() {
            when:
            action.run()
    
            then:
            thrown(ReportedException)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

        def cleanup() {
            // unstopped instances of ProjectBuilderImpl projects leak build operations
            // causing other integration tests to sporadically fail.
            if (project != null) {
                ProjectBuilderImpl.stop(project)
            }
        }
    
        def "can resolve remote dependencies"() {
            def repo = new MavenHttpRepository(server, mavenRepo)
            repo.module("org.gradle", "a", "1.0").publish().allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/run.bash

    # This environment variable is an internal implementation detail between the
    # Go build system (x/build) and cmd/dist for the purpose of longtest builders,
    # and will be removed if it stops being needed. See go.dev/issue/12508.
    #
    # GO_TEST_TIMEOUT_SCALE: a non-negative integer factor to scale test timeout by.
    # Defaults to 1.
    
    set -e
    
    if [ ! -f ../bin/go ]; then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. cmd/callhome.go

    	defer callhomeTimer.Stop()
    
    	for {
    		if !globalCallhomeConfig.Enabled() {
    			// Stop the processing as callhome got disabled
    			return false
    		}
    
    		select {
    		case <-ctx.Done():
    			// indicates that we do not need to run callhome anymore
    			return false
    		case <-callhomeTimer.C:
    			if !globalCallhomeConfig.Enabled() {
    				// Stop the processing as callhome got disabled
    				return false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    	// Start UDS log server
    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger(istiolog.DebugLevel)
    	stop := make(chan struct{})
    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := istiolog.DefaultOptions()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestWorkerTest.groovy

                    worker.processTestClass(test)
                    thread.block()
                    instant.stopped
                    worker.stop()
                }
            }
            1 * processor.startProcessing(_)
            1 * processor.processTestClass(test)
            1 * processor.stop()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top