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:
parent
def8c48dcb
commit
1e30b12f97
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue