- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for taskWasCancelled (0.14 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy
// https://github.com/gradle/gradle-private/issues/1760 assert resultHandler.failure.cause.message in ["Build cancelled.", "Daemon was stopped to handle build cancel request."] } void taskWasCancelled(TestResultHandler resultHandler, String taskPath) { resultHandler.assertFailedWith(BuildCancelledException) assert resultHandler.failure.message.startsWith("Could not execute build using")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy
sync.waitForAllPendingCalls(resultHandler) cancel.cancel() sync.releaseAll() resultHandler.finished() } then: taskWasCancelled(resultHandler, ":hang") } def "does not fail when scheduled tasks complete within the cancellation timeout"() { buildFile << """ task hang { doLast { ${waitForCancel()}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.2K bytes - Viewed (0)