Skip to content

Commit

Permalink
alter logging in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoten committed Sep 29, 2017
1 parent d6acb39 commit ca8015d
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/test/java/org/davidmoten/rx/jdbc/DatabaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2034,16 +2034,14 @@ public void testAutomappedObjectsWhenDefaultMethodInvokedAndIsNonPublicThrows()
@Test
public void testBlockingDatabase() {
Database db = blocking();
for (int i = 0; i < 100; i++) {
db.select("select score from person where name=?") //
.parameters("FRED", "JOSEPH") //
.getAs(Integer.class) //
.test() //
.awaitDone(TIMEOUT_SECONDS, TimeUnit.SECONDS) //
.assertNoErrors() //
.assertValues(21, 34) //
.assertComplete();
}
db.select("select score from person where name=?") //
.parameters("FRED", "JOSEPH") //
.getAs(Integer.class) //
.test() //
.awaitDone(TIMEOUT_SECONDS, TimeUnit.SECONDS) //
.assertNoErrors() //
.assertValues(21, 34) //
.assertComplete();
}

@Test
Expand Down

0 comments on commit ca8015d

Please sign in to comment.