File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed 
server/src/internalClusterTest/java/org/elasticsearch/search/ccs Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ pr : 117750 
2+ summary : ' `CrossClusterIT` `testCancel` failure' 
3+ area : Search 
4+ type : bug 
5+ issues :
6+  - 108061 
Original file line number Diff line number Diff line change 6363import  java .util .List ;
6464import  java .util .Map ;
6565import  java .util .concurrent .CountDownLatch ;
66+ import  java .util .concurrent .ExecutionException ;
6667import  java .util .concurrent .TimeUnit ;
6768import  java .util .concurrent .atomic .AtomicInteger ;
6869import  java .util .concurrent .atomic .AtomicReference ;
@@ -189,7 +190,6 @@ public void testProxyConnectionDisconnect() throws Exception {
189190        }
190191    }
191192
192-     @ AwaitsFix (bugUrl  = "https://github.com/elastic/elasticsearch/issues/108061" )
193193    public  void  testCancel () throws  Exception  {
194194        assertAcked (client (LOCAL_CLUSTER ).admin ().indices ().prepareCreate ("demo" ));
195195        indexDocs (client (LOCAL_CLUSTER ), "demo" );
@@ -307,7 +307,7 @@ public void testCancel() throws Exception {
307307            }
308308        });
309309
310-         RuntimeException  e  = expectThrows (RuntimeException .class , () -> queryFuture .result ());
310+         ExecutionException  e  = expectThrows (ExecutionException .class , () -> queryFuture .result ());
311311        assertNotNull (e );
312312        assertNotNull (e .getCause ());
313313        Throwable  t  = ExceptionsHelper .unwrap (e , TaskCancelledException .class );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments