File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed 
src/test/java/io/r2dbc/postgresql Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 1919import  org .junit .jupiter .api .AfterAll ;
2020import  org .junit .jupiter .api .BeforeAll ;
2121import  org .junit .jupiter .api .RepeatedTest ;
22- import  org .junit .jupiter .api .Test ;
2322import  org .junit .jupiter .api .TestInstance ;
2423import  reactor .test .StepVerifier ;
2524
26- import  static  org .assertj .core .api .Assertions .assertThat ;
27- 
2825/** 
2926 * Integration tests for cancellation. 
3027 */ 
@@ -52,23 +49,6 @@ void tearDown() {
5249        super .tearDown ();
5350    }
5451
55-     @ Test 
56-     void  shouldBeginAndCommitCancel () throws  InterruptedException  {
57- 
58-         // precondition 
59-         assertThat (this .connection .isAutoCommit ()).isTrue ();
60- 
61-         this .connection .beginTransaction ().then (this .connection .commitTransaction ())
62-             .as (StepVerifier ::create )
63-             .thenCancel ()
64-             .verify ();
65- 
66-         // await completion 
67-         Thread .sleep (100 );
68- 
69-         assertThat (this .connection .isAutoCommit ()).isTrue ();
70-     }
71- 
7252    @ RepeatedTest (NUMBER_REPETITIONS )
7353    void  shouldCancelSimpleQuery () {
7454
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments