Skip to content

Commit f2d9648

Browse files
committed
comment and sleep
1 parent e1dd23e commit f2d9648

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk-extensions/autoconfigure/src/test/java/io/opentelemetry/sdk/autoconfigure/AutoConfiguredOpenTelemetrySdkTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ void test() throws Exception {
714714
}
715715
return null;
716716
});
717+
// Give Thread 2 some time to try obtaining the mutex and getting blocked
718+
Thread.sleep(500);
717719
return invocation.callRealMethod();
718720
});
719721

0 commit comments

Comments
 (0)