Test: increase security index wait times

Our tests currently rely on waiting for the security index to be available in some cases and in
CI, these checks have been timing out. This commit increases the amount of time that we will wait
for the index before failing to account for slow machines.

Original commit: elastic/x-pack-elasticsearch@639dccd5cb
This commit is contained in:
jaymode 2017-11-13 12:32:06 -07:00
parent def8c48dcb
commit 1e30b12f97
1 changed files with 2 additions and 2 deletions

View File

@ -468,7 +468,7 @@ public abstract class SecurityIntegTestCase extends ESIntegTestCase {
assertTrue(indexRoutingTable.allPrimaryShardsActive());
}
}
});
}, 30L, TimeUnit.SECONDS);
}
}
@ -485,7 +485,7 @@ public abstract class SecurityIntegTestCase extends ESIntegTestCase {
assertTrue(indexRoutingTable.allPrimaryShardsActive());
}
}
}, 20, TimeUnit.SECONDS);
}, 30L, TimeUnit.SECONDS);
}
}