Skip to content

Commit c558b9d

Browse files
committed
Remove defunct test
Signed-off-by: Mark Paluch <[email protected]>
1 parent 5188e4c commit c558b9d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/test/java/io/r2dbc/postgresql/PostgresCancelIntegrationTests.java

-20
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@
1919
import org.junit.jupiter.api.AfterAll;
2020
import org.junit.jupiter.api.BeforeAll;
2121
import org.junit.jupiter.api.RepeatedTest;
22-
import org.junit.jupiter.api.Test;
2322
import org.junit.jupiter.api.TestInstance;
2423
import 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

0 commit comments

Comments
 (0)