Skip to content

Commit f2c2e48

Browse files
committed
Polishing.
[#401][#426] Signed-off-by: Mark Paluch <[email protected]>
1 parent 25efaa2 commit f2c2e48

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

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

-19
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828

2929
import 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

0 commit comments

Comments
 (0)