mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Increasing the timeout
This commit is contained in:
parent
c71d6000d5
commit
6b5d4bf05f
@ -102,7 +102,8 @@ public class CarbonServerManagerExtension {
|
||||
|
||||
}
|
||||
});
|
||||
ClientConnectionUtil.waitForPort(defaultHttpPort + this.portOffset, 300000L, false, (String)this.automationContext.getInstance().getHosts().get("default"));
|
||||
ClientConnectionUtil.waitForPort(defaultHttpPort + this.portOffset, DEFAULT_START_STOP_WAIT_MS, false, (String)this
|
||||
.automationContext.getInstance().getHosts().get("default"));
|
||||
long time = System.currentTimeMillis() + 60000L;
|
||||
|
||||
while(true) {
|
||||
|
||||
@ -58,9 +58,10 @@ public class MobileDeviceManagementWithNoDevices extends TestBase {
|
||||
|
||||
while (!checkScopes(Constants.APIApplicationRegistration.PERMISSION_LIST)) {
|
||||
TimeUnit.SECONDS.sleep(5);
|
||||
long WAIT_TIME = 30000;
|
||||
long WAIT_TIME = 40000;
|
||||
if (System.currentTimeMillis() - startTime > WAIT_TIME) {
|
||||
Assert.fail("Required APIs are not deployed after waiting for " + WAIT_TIME + " time-out has happened");
|
||||
Assert.fail("Required APIs are not deployed after waiting for " + WAIT_TIME + " ms time-out has "
|
||||
+ "happened");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user