Skip to content

Commit c51510c

Browse files
authored
test: modified delays of parallel tests in RunnerTest (#10)
1 parent 4e0c87a commit c51510c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/sabi/RunnerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class RunPara {
4444
void should_run_argument_runners_in_parallel() throws Exception {
4545
var logs = new ArrayList<String>();
4646
Runner.runPara(() -> {
47-
try { Thread.sleep(100); } catch (InterruptedException e) {}
47+
try { Thread.sleep(200); } catch (InterruptedException e) {}
4848
logs.add("1");
4949
}, () -> {
5050
try { Thread.sleep(20); } catch (InterruptedException e) {}
@@ -114,7 +114,7 @@ class Para {
114114
void should_run_holding_runners_in_parallel() throws Exception {
115115
var logs = new ArrayList<String>();
116116
var runner = Runner.para(() -> {
117-
try { Thread.sleep(100); } catch (InterruptedException e) {}
117+
try { Thread.sleep(200); } catch (InterruptedException e) {}
118118
logs.add("1");
119119
}, () -> {
120120
try { Thread.sleep(20); } catch (InterruptedException e) {}

0 commit comments

Comments
 (0)