Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,595 for stops (0.04 sec)

  1. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ManagedExecutor.java

        /**
         * Stops accepting new jobs and blocks until all currently executing jobs have been completed.
         */
        @Override
        void stop();
    
        /**
         * Stops accepting new jobs and blocks until all currently executing jobs have been completed. Once the given
         * timeout has been reached, forcefully stops remaining jobs and throws an exception.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            and:
            daemons.daemon.stops()
        }
    
        def "stops single use daemon when build fails"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "throw new RuntimeException('bad')"
    
            when:
            fails()
    
            then:
            wasForked()
            failureHasCause "bad"
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

        @Requires(UnitTestPreconditions.NotWindows)
        def "daemon stops immediately if stop is requested and then client disconnects"() {
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
            // Cause the daemon to want to stop
            daemonContext {
                File registry = new DaemonDir(executer.daemonBaseDir).registry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/go/doc/comment/testdata/list9.txt

    5. More wrapped
      items.
    6. And unwrapped.
    
    7. The blank line stops the heuristic.
    -- gofmt --
    Text.
    
    1. Not a list
    2. because it is
    3. unindented.
    
     4. This one
        is a list
        because of the indented text.
     5. More wrapped
        items.
     6. And unwrapped.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 20:47:52 UTC 2022
    - 419 bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        def "can stop multiple times"() {
            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ConnectionAcceptor.java

        Address getAddress();
    
        /**
         * Stops accepting incoming connections.
         */
        @Override
        void requestStop();
    
        /**
         * Stops accepting incoming connections and blocks until the accept action has completed executing for any queued connections.
         */
        @Override
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/RequestProtocol.java

        /**
         * Runs the given request in the worker process, then stops the worker process.
         * <p>
         * If the worker process can handle multiple requests, the worker process will stop after the request is completed.
         *
         * @param request The request to run.
         */
        void runThenStop(Request request);
    
        /**
         * Stops the worker process.
         */
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 09:27:37 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                assertOutputContains("Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms.")
            }
    
            and:
            taskLogging(":block") == [
                "Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms."
            ]
        }
    
        def "additional logging is emitted when task is slow to stop"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy

    class CancellationCrossVersionSpec extends ToolingApiSpecification {
        def setup() {
            settingsFile << '''
    rootProject.name = 'cancelling'
    '''
        }
    
        def "early cancel stops the build before beginning"() {
            buildFile << """
    throw new GradleException("should not run")
    """
            def cancel = GradleConnector.newCancellationTokenSource()
            def resultHandler = new TestResultHandler()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/go/doc/testdata/testing.2.golden

    	func (c *B) Errorf(format string, args ...any)
    
    	// Fail marks the function as having failed but continues ...
    	func (c *B) Fail()
    
    	// FailNow marks the function as having failed and stops its ...
    	func (c *B) FailNow()
    
    	// Failed reports whether the function has failed. 
    	func (c *B) Failed() bool
    
    	// Fatal is equivalent to Log() followed by FailNow(). 
    	func (c *B) Fatal(args ...any)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
Back to top