Skip to content

Commit da87b13

Browse files
fix typo
1 parent 6fd7557 commit da87b13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/net/snowflake/client/jdbc/BindingDataLatestIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ public void testTimestampBindingWithNTZTypeNotExceedingBindingThreshold() throws
241241
// Check tz type and ltz type columns have the same value.
242242
assertEquals(rs1.getTimestamp(2), rs1.getTimestamp(3));
243243

244-
assertEquals(rs1.getTimestamp(2), rs2.getTimestamp(2));
245-
assertEquals(rs1.getTimestamp(3), rs2.getTimestamp(3));
246-
assertEquals(rs1.getTimestamp(4), rs2.getTimestamp(4));
244+
assertEquals(rs2.getTimestamp(2), rs2.getTimestamp(2));
245+
assertEquals(rs1.getTimestamp(3), rs1.getTimestamp(3));
246+
assertEquals(rs2.getTimestamp(4), rs2.getTimestamp(4));
247247
}
248248
}
249249
} finally {
@@ -260,7 +260,7 @@ private void executePrepStmtForNumRows(
260260
try (PreparedStatement prepStatement =
261261
connection.prepareStatement("insert into " + tableName + " values (?,?,?,?)")) {
262262
for (int i = 0; i < numRows; i++) {
263-
prepStatement.setInt(1, i);
263+
prepStatement.setInt(1, 1);
264264
prepStatement.setTimestamp(2, timestamp);
265265
prepStatement.setTimestamp(3, timestamp);
266266
prepStatement.setTimestamp(4, timestamp);

0 commit comments

Comments
 (0)