Skip to content

Commit 8d0458b

Browse files
committed
Fix torture tests setup
1 parent 0a8290d commit 8d0458b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/engineering/swat/watch/TortureTests.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050

5151
import org.apache.logging.log4j.LogManager;
5252
import org.apache.logging.log4j.Logger;
53+
import org.awaitility.Awaitility;
5354
import org.junit.jupiter.api.AfterEach;
55+
import org.junit.jupiter.api.BeforeAll;
5456
import org.junit.jupiter.api.BeforeEach;
5557
import org.junit.jupiter.api.RepeatedTest;
5658
import org.junit.jupiter.api.Test;
@@ -64,6 +66,11 @@ class TortureTests {
6466

6567
private TestDirectory testDir;
6668

69+
@BeforeAll
70+
static void setupEverything() {
71+
Awaitility.setDefaultTimeout(TestHelper.LONG_WAIT.getSeconds(), TimeUnit.SECONDS);
72+
}
73+
6774
@BeforeEach
6875
void setup() throws IOException {
6976
testDir = new TestDirectory();

0 commit comments

Comments
 (0)