Skip to content

Commit 6d06aad

Browse files
committed
added seed output for random
1 parent db3725c commit 6d06aad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/PreparedStatementTest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,9 @@ void testClearParameters() throws Exception {
591591
@Test
592592
void testBatchInsert() throws Exception {
593593
String table = "test_batch";
594-
Random rnd = new Random();
594+
long seed = System.currentTimeMillis();
595+
Random rnd = new Random(seed);
596+
System.out.println("testBatchInsert seed" + seed);
595597
Properties properties = new Properties();
596598
properties.put(DriverProperties.BETA_ROW_BINARY_WRITER.getKey(), "true");
597599
try (Connection conn = getJdbcConnection(properties)) {

0 commit comments

Comments
 (0)