From 5dbf39d7609d345a0c257c383df6b565ff94b5b1 Mon Sep 17 00:00:00 2001 From: Alan Chiu Date: Thu, 10 Aug 2023 10:16:19 -0700 Subject: [PATCH] fixup --- .../build/buf/connect/crosstest/CrossTest.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crosstests/google-java/src/test/kotlin/build/buf/connect/crosstest/CrossTest.kt b/crosstests/google-java/src/test/kotlin/build/buf/connect/crosstest/CrossTest.kt index a35dbe9e..9992663a 100644 --- a/crosstests/google-java/src/test/kotlin/build/buf/connect/crosstest/CrossTest.kt +++ b/crosstests/google-java/src/test/kotlin/build/buf/connect/crosstest/CrossTest.kt @@ -26,7 +26,6 @@ import kotlinx.coroutines.runBlocking import kotlinx.coroutines.withContext import okhttp3.OkHttpClient import okhttp3.Protocol -import org.assertj.core.api.Assertions import org.assertj.core.api.Assertions.assertThat import org.assertj.core.api.Assertions.fail import org.junit.Before @@ -58,12 +57,13 @@ class CrossTest { .sslSocketFactory(sslSocketFactory, trustManager) .build() shortTimeoutConnectClient = ProtocolClient( - httpClient = ConnectOkHttpClient(client.newBuilder() - .connectTimeout(Duration.ofMillis(1)) - .readTimeout(Duration.ofMillis(1)) - .writeTimeout(Duration.ofMillis(1)) - .callTimeout(Duration.ofMillis(1)) - .build() + httpClient = ConnectOkHttpClient( + client.newBuilder() + .connectTimeout(Duration.ofMillis(1)) + .readTimeout(Duration.ofMillis(1)) + .writeTimeout(Duration.ofMillis(1)) + .callTimeout(Duration.ofMillis(1)) + .build() ), ProtocolClientConfig( host = host,