Skip to content

Commit

Permalink
GH-4784 fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Oct 2, 2023
1 parent 0410820 commit c0ab946
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,17 @@ public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedE
}
store.shutDown();

store.init();
try {
store.init();

try (SailConnection connection = store.getConnection()) {
connection.begin();
long size = connection.size();
assertEquals(0, size);
connection.commit();
try (SailConnection connection = store.getConnection()) {
connection.begin();
long size = connection.size();
assertEquals(0, size);
connection.commit();
}
} catch (SailException ignored) {
// ignored
}

}
Expand Down

0 comments on commit c0ab946

Please sign in to comment.