- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,645 for _top (0.09 sec)
-
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy
thread.blockUntil.connected operation.stop { acceptor.stop() } then: operation.stop.end > instant.actionFinished cleanup: acceptor?.stop() connection?.stop() } def "can receive message from peer after peer has closed connection"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 10.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/fake.go
} cleanupStop := false stop := opts.Stop if stop == nil { // If we created the stop, clean it up. Otherwise, caller is responsible cleanupStop = true stop = make(chan struct{}) } f := namespace.NewDiscoveryNamespacesFilter( kclient.New[*corev1.Namespace](opts.Client), opts.MeshWatcher, stop, ) kubelib.SetObjectFilter(opts.Client, f)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/CompositeStoppableTest.groovy
when: stoppable.stop() then: 1 * a.stop() 1 * b.stop() } def stopsAllElementsWhenOneFailsToStop() { Stoppable a = Mock() Stoppable b = Mock() RuntimeException failure = new RuntimeException() stoppable.add(a) stoppable.add(b) when: stoppable.stop() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy
manager.stop() then: noExceptionThrown() 1 * client1.isFailed() >> true 0 * client1.stop() 1 * client2.stop() } def "can stop session-scoped clients"() { listenerManager = new DefaultListenerManager(Scope.BuildSession)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 10.3K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
enabled: true, } l.AddRunFunction(func(stop <-chan struct{}) { <-stop }) for _, fn := range fns { l.AddRunFunction(fn) } stop := make(chan struct{}) go l.Run(stop) retry.UntilOrFail(t, func() bool { return l.isLeader() == expectLeader }, retry.Converge(5), retry.Delay(time.Millisecond*100), retry.Timeout(time.Second*10)) return l, stop } type fakeDefaultWatcher struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor_test.go
callCount++ return configs, err } mon := NewMonitor("", store, someConfigFunc, "") stop := make(chan struct{}) defer func() { close(stop) }() mon.Start(stop) go func() { updateTicker := time.NewTicker(100 * time.Millisecond) numUpdates := 10 for { select { case <-stop: updateTicker.Stop() return case <-updateTicker.C: mon.updateCh <- struct{}{} numUpdates--
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy
operation.stop { executor.stop(timeoutMs, TimeUnit.MILLISECONDS) } then: IllegalStateException e = thrown() e.message == 'Timeout waiting for concurrent jobs to complete.' and: operation.stop.duration in approx(timeoutMs) } def stopRethrowsFirstExecutionException() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy
daemonConnection.stop() then: 0 * handler._ } def "does not notify disconnect handler on stop"() { Runnable handler = Mock() when: daemonConnection.onDisconnect(handler) daemonConnection.stop() then: 0 * handler._ } def "can stop after disconnect handler fails"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy
} } then: instant.action1Done > instant.action2Done } def "can stop multiple times"() { when: lifecycle.stop() lifecycle.stop() lifecycle.requestStop() lifecycle.requestStop() lifecycle.stop() then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:55 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy
then: 1 * delegate.processTestClass(test2) then: 1 * delegate.stop() 0 * _._ } def "stopNow does nothing after stop completed"() { when: processor.startProcessing(resultProcessor) processor.processTestClass(test1) processor.stop() then: 1 * factory.create() >> delegate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.6K bytes - Viewed (0)