File tree 1 file changed +0
-19
lines changed
src/test/java/io/r2dbc/postgresql
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 28
28
29
29
import java .time .Duration ;
30
30
31
- import static org .assertj .core .api .Assertions .assertThat ;
32
-
33
31
/**
34
32
* Integration tests for cancellation.
35
33
*/
@@ -57,23 +55,6 @@ void tearDown() {
57
55
super .tearDown ();
58
56
}
59
57
60
- @ Test
61
- void shouldBeginAndCommitCancel () throws InterruptedException {
62
-
63
- // precondition
64
- assertThat (this .connection .isAutoCommit ()).isTrue ();
65
-
66
- this .connection .beginTransaction ().then (this .connection .commitTransaction ())
67
- .as (StepVerifier ::create )
68
- .thenCancel ()
69
- .verify ();
70
-
71
- // await completion
72
- Thread .sleep (100 );
73
-
74
- assertThat (this .connection .isAutoCommit ()).isTrue ();
75
- }
76
-
77
58
@ RepeatedTest (NUMBER_REPETITIONS )
78
59
void shouldCancelSimpleQuery () {
79
60
You can’t perform that action at this time.
0 commit comments