|
38 | 38 | import org.junit.jupiter.api.BeforeEach;
|
39 | 39 | import org.junit.jupiter.api.Disabled;
|
40 | 40 | import org.junit.jupiter.api.RepeatedTest;
|
| 41 | +import org.junit.jupiter.api.Test; |
41 | 42 | import org.junit.jupiter.api.Timeout;
|
42 | 43 | import org.slf4j.Logger;
|
43 | 44 | import org.slf4j.LoggerFactory;
|
@@ -157,9 +158,9 @@ public int getSize() {
|
157 | 158 | *
|
158 | 159 | * @see <a href="https://github.com/eclipse/rdf4j/issues/693">https://github.com/eclipse/rdf4j/issues/693</a>
|
159 | 160 | */
|
160 |
| - @Test |
| 161 | +// @Test |
161 | 162 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
162 |
| -// @RepeatedTest(100) |
| 163 | + @RepeatedTest(100) |
163 | 164 | public void testConcurrentAddLargeTxn() throws Exception {
|
164 | 165 | logger.info("executing two large concurrent transactions");
|
165 | 166 | final CountDownLatch runnersDone = new CountDownLatch(2);
|
@@ -200,9 +201,9 @@ public void testConcurrentAddLargeTxn() throws Exception {
|
200 | 201 | * Verifies that two large concurrent transactions in separate contexts do not cause inconsistencies or errors when
|
201 | 202 | * one of the transactions rolls back at the end.
|
202 | 203 | */
|
203 |
| - @Test |
| 204 | +// @Test |
204 | 205 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
205 |
| -// @RepeatedTest(100) |
| 206 | + @RepeatedTest(100) |
206 | 207 | public void testConcurrentAddLargeTxnRollback() throws Exception {
|
207 | 208 | logger.info("executing two large concurrent transactions");
|
208 | 209 | final CountDownLatch runnersDone = new CountDownLatch(2);
|
@@ -321,8 +322,8 @@ public void testGetContextIDs() throws Exception {
|
321 | 322 | }
|
322 | 323 | }
|
323 | 324 |
|
324 |
| -// @RepeatedTest(100) |
325 |
| - @Test |
| 325 | + @RepeatedTest(100) |
| 326 | +// @Test |
326 | 327 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
327 | 328 | public void testConcurrentConnectionsShutdown() throws InterruptedException {
|
328 | 329 | if (store instanceof AbstractSail) {
|
@@ -367,8 +368,8 @@ public void testConcurrentConnectionsShutdown() throws InterruptedException {
|
367 | 368 | }
|
368 | 369 |
|
369 | 370 | // @Disabled
|
370 |
| -// @RepeatedTest(100) |
371 |
| - @Test |
| 371 | + @RepeatedTest(100) |
| 372 | +// @Test |
372 | 373 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
373 | 374 | public void testSerialThreads() throws InterruptedException {
|
374 | 375 | if (store instanceof AbstractSail) {
|
@@ -449,8 +450,8 @@ public void testSerialThreads() throws InterruptedException {
|
449 | 450 |
|
450 | 451 | }
|
451 | 452 |
|
452 |
| -// @RepeatedTest(100) |
453 |
| - @Test |
| 453 | + @RepeatedTest(100) |
| 454 | +// @Test |
454 | 455 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
455 | 456 | public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedException {
|
456 | 457 | if (store instanceof AbstractSail) {
|
@@ -506,8 +507,8 @@ public void testConcurrentConnectionsShutdownReadCommitted() throws InterruptedE
|
506 | 507 |
|
507 | 508 | }
|
508 | 509 |
|
509 |
| -// @RepeatedTest(100) |
510 |
| - @Test |
| 510 | + @RepeatedTest(100) |
| 511 | +// @Test |
511 | 512 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
512 | 513 | public void testConcurrentConnectionsShutdownAndClose() throws InterruptedException {
|
513 | 514 | if (store instanceof AbstractSail) {
|
@@ -594,8 +595,8 @@ public void testConcurrentConnectionsShutdownAndClose() throws InterruptedExcept
|
594 | 595 | store.shutDown();
|
595 | 596 | }
|
596 | 597 |
|
597 |
| -// @RepeatedTest(100) |
598 |
| - @Test |
| 598 | + @RepeatedTest(1000) |
| 599 | +// @Test |
599 | 600 | @Timeout(value = 30, unit = TimeUnit.MINUTES)
|
600 | 601 | public void testConcurrentConnectionsShutdownAndCloseRollback() throws InterruptedException {
|
601 | 602 | if (store instanceof AbstractSail) {
|
|
0 commit comments