File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
proxy/src/test/java/ru/qatools/gridrouter Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,17 @@ public void testQuotaIsReloadedOnFileChange() throws Exception {
41
41
replacePortInQuotaFile (USER_1 , HUB_PORT_2 );
42
42
Thread .sleep (5000 ); // just to avoid multiple exceptions in the logs
43
43
assertThat (USER_1 , should (canObtain (firefox ()))
44
- .whileWaitingUntil (timeoutHasExpired ().withPollingInterval (SECONDS .toMillis (3 ))));
44
+ .whileWaitingUntil (timeoutHasExpired (SECONDS .toMillis (60 ))
45
+ .withPollingInterval (SECONDS .toMillis (3 ))));
45
46
}
46
47
47
48
@ Test
48
49
public void testNewQuotaFileIsLoaded () throws Exception {
49
50
copyQuotaFile (USER_1 , USER_4 , HUB_PORT_2 );
50
51
Thread .sleep (5000 ); // just to avoid multiple exceptions in the logs
51
52
assertThat (USER_4 , should (canObtain (firefox ()))
52
- .whileWaitingUntil (timeoutHasExpired ().withPollingInterval (SECONDS .toMillis (3 ))));
53
+ .whileWaitingUntil (timeoutHasExpired (SECONDS .toMillis (60 ))
54
+ .withPollingInterval (SECONDS .toMillis (3 ))));
53
55
}
54
56
55
57
@ After
You can’t perform that action at this time.
0 commit comments