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 {
4141 replacePortInQuotaFile (USER_1 , HUB_PORT_2 );
4242 Thread .sleep (5000 ); // just to avoid multiple exceptions in the logs
4343 assertThat (USER_1 , should (canObtain (firefox ()))
44- .whileWaitingUntil (timeoutHasExpired ().withPollingInterval (SECONDS .toMillis (3 ))));
44+ .whileWaitingUntil (timeoutHasExpired (SECONDS .toMillis (60 ))
45+ .withPollingInterval (SECONDS .toMillis (3 ))));
4546 }
4647
4748 @ Test
4849 public void testNewQuotaFileIsLoaded () throws Exception {
4950 copyQuotaFile (USER_1 , USER_4 , HUB_PORT_2 );
5051 Thread .sleep (5000 ); // just to avoid multiple exceptions in the logs
5152 assertThat (USER_4 , should (canObtain (firefox ()))
52- .whileWaitingUntil (timeoutHasExpired ().withPollingInterval (SECONDS .toMillis (3 ))));
53+ .whileWaitingUntil (timeoutHasExpired (SECONDS .toMillis (60 ))
54+ .withPollingInterval (SECONDS .toMillis (3 ))));
5355 }
5456
5557 @ After
You can’t perform that action at this time.
0 commit comments