Skip to content

Commit 61aca03

Browse files
authored
Update dd-java-agent/instrumentation/spring/spring-scheduling-3.1/src/latestDepTest/groovy/SpringSchedulingTest.groovy
1 parent 6776e65 commit 61aca03

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

dd-java-agent/instrumentation/spring/spring-scheduling-3.1/src/latestDepTest/groovy/SpringSchedulingTest.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class SpringSchedulingTest extends InstrumentationSpecification {
3333
// Close the context immediately after the first execution to prevent a second cron
3434
// firing before assertions complete, which would produce extra traces and cause flakiness.
3535
context.close()
36-
// Deterministic reproduction: sleep longer than the cron interval (5 s) to prove
37-
// that closing the context stopped the scheduler and no extra traces appear.
38-
Thread.sleep(6000)
3936

4037
expect:
4138
assert task != null

0 commit comments

Comments
 (0)