Skip to content

Commit

Permalink
Run testDeleteRowsConcurrently sequentially for better reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
pajaks authored and ebyhr committed Oct 25, 2024
1 parent e2a0138 commit 06b6786
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.parallel.Execution;
import org.junit.jupiter.api.parallel.ExecutionMode;

import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
Expand Down Expand Up @@ -124,6 +126,7 @@ public void testHiddenPathColumn()
// Repeat test with invocationCount for better test coverage, since the tested aspect is inherently non-deterministic.
@RepeatedTest(4)
@Timeout(120)
@Execution(ExecutionMode.SAME_THREAD)
public void testDeleteRowsConcurrently()
throws Exception
{
Expand Down

0 comments on commit 06b6786

Please sign in to comment.