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: dd-java-agent/instrumentation/java-concurrent/java-concurrent-21/src/previewTest/groovy/StructuredConcurrencyTest.groovy
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ class StructuredConcurrencyTest extends AgentTestRunner {
26
26
returntrue
27
27
}
28
28
})
29
-
taskScope.joinUntil(now() +1) // Wait for a second at maximum
29
+
taskScope.joinUntil(now() +10) // Wait for 10 seconds at maximum
30
30
result = task.get()
31
31
}
32
32
taskScope.close()
@@ -73,7 +73,7 @@ class StructuredConcurrencyTest extends AgentTestRunner {
73
73
taskScope.fork {
74
74
runnableUnderTrace("child3") {}
75
75
}
76
-
taskScope.joinUntil(now() +2) // Wait for two seconds at maximum
76
+
taskScope.joinUntil(now() +10) // Wait for 10 seconds at maximum
77
77
}
78
78
taskScope.close()
79
79
@@ -132,7 +132,7 @@ class StructuredConcurrencyTest extends AgentTestRunner {
132
132
taskScope.fork {
133
133
runnableUnderTrace("child2") {}
134
134
}
135
-
taskScope.joinUntil(now() +2) // Wait for two seconds at maximum
135
+
taskScope.joinUntil(now() +10) // Wait for 10 seconds at maximum
0 commit comments