Skip to content

Commit 9866b27

Browse files
authored
Merge pull request #39 from shunfan-shao/update-test-assertion-behavior
Update testRangeQueryByPrimaryKeyNegative assertion logic
2 parents ef64c9d + 95e6924 commit 9866b27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

innodb-java-reader-cli/src/test/java/com/alibaba/innodb/java/reader/InnodbReaderBootstrapTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ public void testQueryByPrimaryKeyNotExist() {
269269
public void testRangeQueryByPrimaryKeyNegative() {
270270
String[] args = {"-ibd-file-path", sourceIbdFilePath, "-create-table-sql-file-path", createTableSqlPath,
271271
"-c", "range-query-by-pk", "-args", "700,800"};
272-
InnodbReaderBootstrap.main(args);
272+
bool valid = InnodbReaderBootstrap.main(args);
273+
assertThat(valid, is(false));
273274
}
274275

275276
@Test

0 commit comments

Comments
 (0)