File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
x-pack/plugin/ccr/src/internalClusterTest/java/org/elasticsearch/xpack/ccr Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ public void wrapUncaughtExceptionHandler() {
4444        uncaughtExceptionHandler  = Thread .getDefaultUncaughtExceptionHandler ();
4545        AccessController .doPrivileged ((PrivilegedAction <Void >) () -> {
4646            Thread .setDefaultUncaughtExceptionHandler ((t , e ) -> {
47-                 if  (t .getThreadGroup ().getName ().contains (getTestClass ().getSimpleName ())
48-                     && t .getName ().equals ("elasticsearch-error-rethrower" )) {
47+                 if  (( t .getThreadGroup ().getName ().contains (getTestClass ().getSimpleName ())
48+                     ||  t . getThreadGroup (). getName (). contains ( "VirtualThreads" ))  && t .getName ().equals ("elasticsearch-error-rethrower" )) {
4949                    for  (StackTraceElement  element  : e .getStackTrace ()) {
5050                        if  (element .getClassName ().equals (ReadOnlyEngine .class .getName ())) {
5151                            if  (element .getMethodName ().equals ("assertMaxSeqNoEqualsToGlobalCheckpoint" )) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments