Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Dec 29, 2024
1 parent 2779ef3 commit b8cf968
Showing 1 changed file with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -157,9 +158,9 @@ public int getSize() {
*
* @see <a href="https://github.com/eclipse/rdf4j/issues/693">https://github.com/eclipse/rdf4j/issues/693</a>
*/
@Test
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
// @RepeatedTest(100)
@RepeatedTest(100)
public void testConcurrentAddLargeTxn() throws Exception {
logger.info("executing two large concurrent transactions");
final CountDownLatch runnersDone = new CountDownLatch(2);
Expand Down Expand Up @@ -200,9 +201,9 @@ public void testConcurrentAddLargeTxn() throws Exception {
* Verifies that two large concurrent transactions in separate contexts do not cause inconsistencies or errors when
* one of the transactions rolls back at the end.
*/
@Test
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
// @RepeatedTest(100)
@RepeatedTest(100)
public void testConcurrentAddLargeTxnRollback() throws Exception {
logger.info("executing two large concurrent transactions");
final CountDownLatch runnersDone = new CountDownLatch(2);
Expand Down Expand Up @@ -321,8 +322,8 @@ public void testGetContextIDs() throws Exception {
}
}

// @RepeatedTest(100)
@Test
@RepeatedTest(100)
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
public void testConcurrentConnectionsShutdown() throws InterruptedException {
if (store instanceof AbstractSail) {
Expand Down Expand Up @@ -367,8 +368,8 @@ public void testConcurrentConnectionsShutdown() throws InterruptedException {
}

// @Disabled
// @RepeatedTest(100)
@Test
@RepeatedTest(100)
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
public void testSerialThreads() throws InterruptedException {
if (store instanceof AbstractSail) {
Expand Down Expand Up @@ -449,8 +450,8 @@ public void testSerialThreads() throws InterruptedException {

}

// @RepeatedTest(100)
@Test
@RepeatedTest(100)
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedException {
if (store instanceof AbstractSail) {
Expand Down Expand Up @@ -506,8 +507,8 @@ public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedE

}

// @RepeatedTest(100)
@Test
@RepeatedTest(100)
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
public void testConcurrentConnectionsShutdownAndClose() throws InterruptedException {
if (store instanceof AbstractSail) {
Expand Down Expand Up @@ -594,8 +595,8 @@ public void testConcurrentConnectionsShutdownAndClose() throws InterruptedExcept
store.shutDown();
}

// @RepeatedTest(100)
@Test
@RepeatedTest(1000)
// @Test
@Timeout(value = 30, unit = TimeUnit.MINUTES)
public void testConcurrentConnectionsShutdownAndCloseRollback() throws InterruptedException {
if (store instanceof AbstractSail) {
Expand Down

0 comments on commit b8cf968

Please sign in to comment.