Mercurial > hg > monetdb-java
comparison tests/TestRunner.java @ 575:08c9918177b2 onclient
Do not check the updated row count, it varies between server versions
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Wed, 06 Oct 2021 15:30:47 +0200 (2021-10-06) |
parents | 3370027aeb7f |
children | 13134a44dfc8 |
comparison
equal
deleted
inserted
replaced
574:3370027aeb7f | 575:08c9918177b2 |
---|---|
219 } finally { | 219 } finally { |
220 watchDog.stop(); | 220 watchDog.stop(); |
221 } | 221 } |
222 } | 222 } |
223 | 223 |
224 protected void update(String query, int expectedUpdateCount) throws SQLException, Failure { | 224 protected void update(String query) throws SQLException, Failure { |
225 execute(query); | 225 execute(query); |
226 int updateCount = stmt.getUpdateCount(); | |
227 assertEq("Update count", expectedUpdateCount, updateCount); | |
228 } | 226 } |
229 | 227 |
230 protected void expectError(String query, String expectedError) throws SQLException { | 228 protected void expectError(String query, String expectedError) throws SQLException { |
231 try { | 229 try { |
232 execute(query); | 230 execute(query); |