File tree 1 file changed +0
-20
lines changed
src/test/java/io/r2dbc/postgresql
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 19
19
import org .junit .jupiter .api .AfterAll ;
20
20
import org .junit .jupiter .api .BeforeAll ;
21
21
import org .junit .jupiter .api .RepeatedTest ;
22
- import org .junit .jupiter .api .Test ;
23
22
import org .junit .jupiter .api .TestInstance ;
24
23
import reactor .test .StepVerifier ;
25
24
26
- import static org .assertj .core .api .Assertions .assertThat ;
27
-
28
25
/**
29
26
* Integration tests for cancellation.
30
27
*/
@@ -52,23 +49,6 @@ void tearDown() {
52
49
super .tearDown ();
53
50
}
54
51
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
-
72
52
@ RepeatedTest (NUMBER_REPETITIONS )
73
53
void shouldCancelSimpleQuery () {
74
54
You can’t perform that action at this time.
0 commit comments