1
1
/*
2
- * Copyright (C) 2015 Square, Inc.
2
+ * Copyright (C) 2024 Square, Inc.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -21,6 +21,7 @@ import assertk.assertions.isEqualTo
21
21
import assertk.assertions.isFalse
22
22
import assertk.assertions.isNotEmpty
23
23
import assertk.assertions.isTrue
24
+ import kotlin.test.Ignore
24
25
import okhttp3.Address
25
26
import okhttp3.ConnectionPool
26
27
import okhttp3.FakeRoutePlanner
@@ -34,6 +35,7 @@ import okhttp3.internal.http2.Http2Connection
34
35
import okhttp3.internal.http2.Http2ConnectionTest
35
36
import okhttp3.internal.http2.MockHttp2Peer
36
37
import okhttp3.internal.http2.Settings
38
+ import okhttp3.testing.Flaky
37
39
import org.junit.jupiter.api.AfterEach
38
40
import org.junit.jupiter.api.Test
39
41
@@ -229,6 +231,7 @@ class ConnectionPoolTest {
229
231
assertThat(pool.connectionCount()).isEqualTo(1 )
230
232
}
231
233
234
+ @Flaky
232
235
@Test fun connectionPreWarmingHttp2 () {
233
236
taskFaker.advanceUntil(System .nanoTime())
234
237
val expireSooner = taskFaker.nanoTime + 1_000_000_000_000
0 commit comments