vvysotskyi commented on a change in pull request #1714: DRILL-7048: Implement JDBC Statement.setMaxRows() with System Option URL: https://github.com/apache/drill/pull/1714#discussion_r269710453
########## File path: exec/jdbc/src/test/java/org/apache/drill/jdbc/PreparedStatementTest.java ########## @@ -285,7 +292,7 @@ public void testInvalidSetQueryTimeout() throws SQLException { public void testValidSetQueryTimeout() throws SQLException { try (PreparedStatement stmt = connection.prepareStatement(SYS_VERSION_SQL)) { //Setting positive value - int valueToSet = new Random(20150304).nextInt(59)+1; + int valueToSet = RANDOMIZER.nextInt(59)+1; Review comment: ```suggestion int valueToSet = RANDOMIZER.nextInt(59) + 1; ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services