Merge pull request #1012 from ruwany/master

Increasing timeout
This commit is contained in:
inoshperera 2017-06-14 20:32:53 +05:30 committed by GitHub
commit 27eb8f3a34

View File

@ -58,7 +58,7 @@ public class MobileDeviceManagementWithNoDevices extends TestBase {
while (!checkScopes(Constants.APIApplicationRegistration.PERMISSION_LIST)) {
TimeUnit.SECONDS.sleep(5);
long WAIT_TIME = 40000;
long WAIT_TIME = 60000;
if (System.currentTimeMillis() - startTime > WAIT_TIME) {
Assert.fail("Required APIs are not deployed after waiting for " + WAIT_TIME + " time-out has happened");
}