Skip to content

Commit

Permalink
Retry tests (#7546)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Dec 10, 2022
1 parent da8d7aa commit 7768de7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion okhttp/src/jvmTest/java/okhttp3/CallKotlinTest.kt
Expand Up @@ -41,6 +41,7 @@ import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Timeout
import org.junit.jupiter.api.extension.RegisterExtension
import org.junit.jupiter.api.fail
import org.junitpioneer.jupiter.RetryingTest

@Timeout(30)
class CallKotlinTest {
Expand Down Expand Up @@ -103,7 +104,8 @@ class CallKotlinTest {
server.useHttps(handshakeCertificates.sslSocketFactory())
}

@Test
@RetryingTest(5)
@Flaky
fun testHeadAfterPut() {
class ErringRequestBody : RequestBody() {
override fun contentType(): MediaType {
Expand Down

0 comments on commit 7768de7

Please sign in to comment.