Skip to content

Commit b6e7a63

Browse files
committed
do cleanup on AfterAll, then make postcondition assertion
1 parent 6080f84 commit b6e7a63

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/java/itest/bases/StandardSelfTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ public static void assertPreconditions() throws Exception {
6161
}
6262

6363
@AfterAll
64-
public static void assertPostconditions() throws Exception {
65-
// give the server some additional time to ensure individual tests' cleanup has completed,
66-
// then make assertions about the cleaned state
67-
Thread.sleep(1_000);
64+
public static void postCleanup() throws Exception {
65+
cleanupSelfActiveAndArchivedRecordings();
6866
assertNoRecordings();
6967
}
7068

0 commit comments

Comments
 (0)