Disable retry on connection failure for okhttp tests (#2154)

This commit is contained in:
Lauri Tulmin 2021-02-02 12:34:49 +02:00 committed by GitHub
parent 9ded7188b8
commit 32c34de593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ class OkHttp3Test extends HttpClientTest {
def client = new OkHttpClient.Builder()
.connectTimeout(CONNECT_TIMEOUT_MS, TimeUnit.MILLISECONDS)
.retryOnConnectionFailure(false)
.build()
@Override