File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed 
okhttp/src/test/java/okhttp3/internal/connection Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11/* 
2-  * Copyright (C) 2015  Square, Inc. 
2+  * Copyright (C) 2024  Square, Inc. 
33 * 
44 * Licensed under the Apache License, Version 2.0 (the "License"); 
55 * you may not use this file except in compliance with the License. 
@@ -35,6 +35,7 @@ import okhttp3.internal.http2.Http2ConnectionTest
3535import  okhttp3.internal.http2.MockHttp2Peer 
3636import  okhttp3.internal.http2.Settings 
3737import  org.junit.jupiter.api.AfterEach 
38+ import  org.junit.jupiter.api.Disabled 
3839import  org.junit.jupiter.api.Test 
3940
4041class  ConnectionPoolTest  {
@@ -229,7 +230,9 @@ class ConnectionPoolTest {
229230    assertThat(pool.connectionCount()).isEqualTo(1 )
230231  }
231232
232-   @Test fun  connectionPreWarmingHttp2 () {
233+   @Disabled(" Http2Connection uses non-deterministic TaskRunner"  )
234+   @Test
235+   fun  connectionPreWarmingHttp2 () {
233236    taskFaker.advanceUntil(System .nanoTime())
234237    val  expireSooner =  taskFaker.nanoTime +  1_000_000_000_000 
235238    val  expireLater =  taskFaker.nanoTime +  2_000_000_000_000 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments