We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61aca03 commit 24bbcdeCopy full SHA for 24bbcde
1 file changed
dd-java-agent/instrumentation/spring/spring-scheduling-3.1/src/test/groovy/SpringSchedulingTest.groovy
@@ -33,9 +33,6 @@ class SpringSchedulingTest extends InstrumentationSpecification {
33
// Close the context immediately after the first execution to prevent a second cron
34
// firing before assertions complete, which would produce extra traces and cause flakiness.
35
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)
39
40
expect:
41
assert task != null
0 commit comments