File tree 1 file changed +4
-1
lines changed
okhttp/src/test/java/okhttp3/internal/connection
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 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.
@@ -34,7 +34,9 @@ import okhttp3.internal.http2.Http2Connection
34
34
import okhttp3.internal.http2.Http2ConnectionTest
35
35
import okhttp3.internal.http2.MockHttp2Peer
36
36
import okhttp3.internal.http2.Settings
37
+ import org.junit.Ignore
37
38
import org.junit.jupiter.api.AfterEach
39
+ import org.junit.jupiter.api.Disabled
38
40
import org.junit.jupiter.api.Test
39
41
40
42
class ConnectionPoolTest {
@@ -229,6 +231,7 @@ class ConnectionPoolTest {
229
231
assertThat(pool.connectionCount()).isEqualTo(1 )
230
232
}
231
233
234
+ @Disabled(" Http2Connection uses non-deterministic TaskRunner" )
232
235
@Test fun connectionPreWarmingHttp2 () {
233
236
taskFaker.advanceUntil(System .nanoTime())
234
237
val expireSooner = taskFaker.nanoTime + 1_000_000_000_000
You can’t perform that action at this time.
0 commit comments