|
@@ -19,6 +19,7 @@ import java.util.Locale;
|
|
|
import java.util.Properties;
|
|
|
|
|
|
import static org.hamcrest.Matchers.containsString;
|
|
|
+import static org.hamcrest.Matchers.greaterThanOrEqualTo;
|
|
|
|
|
|
public class JdbcShardFailureIT extends JdbcIntegrationTestCase {
|
|
|
private void createTestIndex() throws IOException {
|
|
@@ -136,7 +137,7 @@ public class JdbcShardFailureIT extends JdbcIntegrationTestCase {
|
|
|
while (rs.next()) {
|
|
|
rows++;
|
|
|
}
|
|
|
- assertTrue(rows >= okShards);
|
|
|
+ assertThat(rows, greaterThanOrEqualTo(okShards));
|
|
|
}
|
|
|
}
|
|
|
}
|