Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,003 for stops (0.05 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            given:
            configureGarbageCollectionHeapEventsFor(256, 512, 35, garbageCollector.monitoringStrategy.gcRateThreshold + 0.2)
    
            when:
            run "injectEvents"
    
            then:
            daemons.daemon.stops()
    
            and:
            daemons.daemon.log.contains(DAEMON_WILL_STOP_MESSAGE)
            output.contains("""The Daemon will expire after the build after running out of JVM heap space.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        def setup() {
            waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25)
            toolingApi.requireIsolatedDaemons()
        }
    
        @TargetGradleVersion(">=6.5")
        def "disconnect during build stops daemon"() {
            setup:
            buildFile.text = """
                task hang {
                    doLast {
                        ${server.callFromBuild("waiting")}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/types.go

    	// for running a pod, the scheduler stops its search for more feasible nodes in
    	// the cluster. This helps improve scheduler's performance. Scheduler always tries to find
    	// at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is.
    	// Example: if the cluster size is 500 nodes and the value of this flag is 30,
    	// then scheduler stops finding further feasible nodes once it finds 150 feasible ones.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. src/html/template/template.go

    //		If printed, the result of the index operation is the string
    //		"<no value>".
    //	"missingkey=zero"
    //		The operation returns the zero value for the map type's element.
    //	"missingkey=error"
    //		Execution stops immediately with an error.
    func (t *Template) Option(opt ...string) *Template {
    	t.text.Option(opt...)
    	return t
    }
    
    // checkCanParse checks whether it is OK to parse templates.
    // If not, it returns an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

            when:
            addSnapshot(snapshotRegularFile(fileInWatchableHierarchy))
            then:
            1 * watcher.startWatching({ equalIgnoringOrder(it, [watchableHierarchy]) })
        }
    
        def "starts and stops watching hierarchies to watch"() {
            def watchableHierarchies = ["first", "second", "third"].collect { file(it).createDir() }
    
            when:
            registerWatchableHierarchies(watchableHierarchies)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            watchingVirtualFileSystem.afterBuildFinished()
            then:
            0 * _
    
            watchingVirtualFileSystem.root == emptySnapshotHierarchy
        }
    
        def "stops the watchers before the build when watching is disabled"() {
            when:
            watchingVirtualFileSystem.afterBuildStarted(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy

            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot add connection, as <hub> has been stopped.'
        }
    
        def "stop and request stop do nothing when already stopped"() {
            when:
            hub.stop()
            hub.stop()
            hub.requestStop()
    
            then:
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            block.waitForAllPendingCalls()
            daemons.daemon.assertBusy()
            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            and:
            daemons.daemon.stops()
        }
    
        def "daemon is idle after the client disconnects and build cancels in a timely manner"() {
            buildFile << """
                task block {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top