We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4b35b commit 6b48233Copy full SHA for 6b48233
1 file changed
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
@@ -1215,6 +1215,8 @@ class HttpOverHttp2Test(
1215
.isEqualTo(expectedSequenceNumber)
1216
responseDequeuedLatch!!.await()
1217
call.cancel()
1218
+ // Avoid flaky race conditions
1219
+ Thread.sleep(100)
1220
requestCanceledLatch!!.countDown()
1221
latch.await()
1222
}
0 commit comments