Skip to content

Commit c0ab946

Browse files
committed
GH-4784 fix test
1 parent 0410820 commit c0ab946

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

testsuites/sail/src/main/java/org/eclipse/rdf4j/testsuite/sail/SailConcurrencyTest.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,17 @@ public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedE
396396
}
397397
store.shutDown();
398398

399-
store.init();
399+
try {
400+
store.init();
400401

401-
try (SailConnection connection = store.getConnection()) {
402-
connection.begin();
403-
long size = connection.size();
404-
assertEquals(0, size);
405-
connection.commit();
402+
try (SailConnection connection = store.getConnection()) {
403+
connection.begin();
404+
long size = connection.size();
405+
assertEquals(0, size);
406+
connection.commit();
407+
}
408+
} catch (SailException ignored) {
409+
// ignored
406410
}
407411

408412
}

0 commit comments

Comments
 (0)