Skip to content

Commit 7b21a9e

Browse files
committed
longer sleep
1 parent 366d2a1 commit 7b21a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/java-http-client/testing/src/main/java/io/opentelemetry/instrumentation/javahttpclient/AbstractJavaHttpClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void cancelRequest() throws InterruptedException {
155155
});
156156

157157
// sleep a bit to let the request start
158-
Thread.sleep(100);
158+
Thread.sleep(1_000);
159159
future.cancel(true);
160160
assertThatThrownBy(future::get).isInstanceOf(CancellationException.class);
161161

0 commit comments

Comments
 (0)