- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for waitForStop (0.7 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy
proc.getConnection().connect() } public void waitForStop() { if (startFails) { return; } try { proc.waitForStop(); assertFalse("Expected process to fail", stopFails); } catch (ExecException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/kube/portforwarder.go
// This can return nil if the port forwarding stops gracefully. ErrChan() <-chan error // WaitForStop blocks until connection closed (e.g. control-C interrupt) WaitForStop() } var _ PortForwarder = &forwarder{} type forwarder struct { stopCh chan struct{} restConfig *rest.Config podName string ns string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 02:12:37 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy
processor.processTestClass(Mock(TestClassRunInfo)) processor.stopNow() processor.stop() then: 1 * workerProcess.stopNow() _ * workerProcess.waitForStop() >> { throw new ExecException("waitForStop can throw") } notThrown(ExecException) } def "captures and rethrows unrecoverable exceptions thrown by the connection"() { def handler
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java
public ExecutionResult waitForFinish() { return waitForStop(false); } @Override public ExecutionFailure waitForFailure() { return (ExecutionFailure) waitForStop(true); } @Override public void waitForExit() { getExecHandle().waitForFinish().rethrowFailure(); } private ExecutionResult waitForStop(boolean expectFailure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultMultiRequestWorkerProcessBuilder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:54:37 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/cc/training/coordinator_test.cc
namespace tensorflow { namespace { using error::Code; void WaitForStopThread(Coordinator* coord, Notification* about_to_wait, Notification* done) { about_to_wait->Notify(); coord->WaitForStop(); done->Notify(); } TEST(CoordinatorTest, TestStopAndWaitOnStop) { Coordinator coord; EXPECT_EQ(coord.ShouldStop(), false); Notification about_to_wait; Notification done;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 23 09:10:43 UTC 2023 - 6.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcess.java
WorkerProcess start(); /** * The connection to the worker. Call {@link ObjectConnection#connect()} to complete the connection. */ ObjectConnection getConnection(); ExecResult waitForStop(); /** * Returns the result of the process, if it has exited. If the process has not exited yet, returns {@link Optional#empty()}. */ Optional<ExecResult> getExecResult();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 21:45:01 UTC 2024 - 1.6K bytes - Viewed (0) -
istioctl/pkg/cli/mock_client.go
return "localhost:3456" } func (m MockPortForwarder) Close() { } func (m MockPortForwarder) ErrChan() <-chan error { return make(chan error) } func (m MockPortForwarder) WaitForStop() { } var _ kube.PortForwarder = MockPortForwarder{} type MockClient struct { // Results is a map of podName to the results of the expected test on the pod Results map[string][]byte kube.CLIClient }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 2.1K bytes - Viewed (0)