File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/test/java/io/r2dbc/postgresql Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 2828
2929import java .time .Duration ;
3030
31- import static org .assertj .core .api .Assertions .assertThat ;
32-
3331/**
3432 * Integration tests for cancellation.
3533 */
@@ -57,23 +55,6 @@ void tearDown() {
5755 super .tearDown ();
5856 }
5957
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-
7758 @ RepeatedTest (NUMBER_REPETITIONS )
7859 void shouldCancelSimpleQuery () {
7960
You can’t perform that action at this time.
0 commit comments