@@ -81,6 +81,7 @@ public void test1User2Sessions1Spec() throws Exception {
8181 String proxyId2 = loginAndLaunchProxy (user1 [0 ], user1 [1 ], specIds [0 ]);
8282 doDeleteProxy (proxyId1 , user1 [0 ], user1 [1 ]);
8383 doDeleteProxy (proxyId2 , user1 [0 ], user1 [1 ]);
84+ Thread .sleep (2000 ); // delete is handled async -> give time to stop container
8485 }
8586
8687 @ Test
@@ -89,6 +90,7 @@ public void test1User2Sessions2Specs() throws Exception {
8990 String proxyId2 = loginAndLaunchProxy (user1 [0 ], user1 [1 ], specIds [1 ]);
9091 doDeleteProxy (proxyId1 , user1 [0 ], user1 [1 ]);
9192 doDeleteProxy (proxyId2 , user1 [0 ], user1 [1 ]);
93+ Thread .sleep (2000 ); // delete is handled async -> give time to stop container
9294 }
9395
9496 @ Test
@@ -97,6 +99,7 @@ public void test2Users2Sessions1Spec() throws Exception {
9799 String proxyId2 = loginAndLaunchProxy (user2 [0 ], user2 [1 ], specIds [0 ]);
98100 doDeleteProxy (proxyId1 , user1 [0 ], user1 [1 ]);
99101 doDeleteProxy (proxyId2 , user2 [0 ], user2 [1 ]);
102+ Thread .sleep (2000 ); // delete is handled async -> give time to stop container
100103 }
101104
102105 @ Test
@@ -105,6 +108,7 @@ public void test2Users2Sessions2Specs() throws Exception {
105108 String proxyId2 = loginAndLaunchProxy (user2 [0 ], user2 [1 ], specIds [1 ]);
106109 doDeleteProxy (proxyId1 , user1 [0 ], user1 [1 ]);
107110 doDeleteProxy (proxyId2 , user2 [0 ], user2 [1 ]);
111+ Thread .sleep (2000 ); // delete is handled async -> give time to stop container
108112 }
109113
110114 private String loginAndLaunchProxy (String username , String password , String specId ) throws Exception {
0 commit comments