Skip to content

Commit 757679d

Browse files
committed
Fix MySQL and SQLServer r2dbc tests
1 parent 28b9dfc commit 757679d

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

querydsl-r2dbc/pom.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,6 @@
1616
<bridge-method.version>1.13</bridge-method.version>
1717
</properties>
1818

19-
<dependencyManagement>
20-
<dependencies>
21-
<dependency>
22-
<groupId>io.projectreactor</groupId>
23-
<artifactId>reactor-core</artifactId>
24-
<version>3.4.3</version>
25-
</dependency>
26-
<dependency>
27-
<groupId>io.projectreactor.netty</groupId>
28-
<artifactId>reactor-netty</artifactId>
29-
<version>0.9.12.RELEASE</version>
30-
</dependency>
31-
</dependencies>
32-
</dependencyManagement>
33-
3419
<dependencies>
3520
<dependency>
3621
<groupId>org.jetbrains</groupId>

querydsl-r2dbc/src/test/java/com/querydsl/r2dbc/Connections.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public static void initMySQL() {
337337
BindMarkers bindMarkers = getConfiguration().getBindMarkerFactory().create();
338338
getConfiguration()
339339
.set(bindMarkers.next(), bindTarget, Expressions.stringPath("name"), "name" + i);
340-
pstmt.add();
340+
if (i < (TEST_ROW_COUNT - 1)) pstmt.add();
341341
}
342342

343343
setup = setup.concatWith(Mono.from(pstmt.execute()).then());
@@ -499,7 +499,7 @@ public static void initSQLServer() {
499499
BindMarkers bindMarkers = getConfiguration().getBindMarkerFactory().create();
500500
getConfiguration()
501501
.set(bindMarkers.next(), bindTarget, Expressions.stringPath("name"), "name" + i);
502-
pstmt.add();
502+
if (i < (TEST_ROW_COUNT - 1)) pstmt.add();
503503
}
504504

505505
setup = setup.concatWith(Mono.from(pstmt.execute()).then());

0 commit comments

Comments
 (0)