You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/TaskbarProgressResetFunctionalTest.groovy
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,21 +61,24 @@ class TaskbarProgressResetFunctionalTest extends AbstractIntegrationSpec {
61
61
buildFile <<"""
62
62
task block {
63
63
doFirst {
64
-
Thread.sleep(10_000)
64
+
${server.callFromBuild("block")}
65
65
}
66
66
}
67
67
"""
68
+
def block = server.expectAndBlock("block")
68
69
69
70
when:
70
71
def gradle = executer.withTasks("block").start()
71
72
73
+
block.waitForAllPendingCalls()
72
74
// Wait until the progress bar has started emitting OSC 9;4 sequences.
0 commit comments