Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry Flaky CallKotlinTest #7546

Merged
merged 1 commit into from Dec 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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