mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
Fix flaky gradle integration test
This commit is contained in:
parent
c7ea0343d2
commit
a3cb74190c
@ -55,6 +55,9 @@ public class TestClustersPluginIT extends GradleIntegrationTestCase {
|
||||
}
|
||||
|
||||
public void testUseClusterByUpToDateTask() {
|
||||
// Run it once, ignoring the result and again to make sure it's considered up to date.
|
||||
// Gradle randomly considers tasks without inputs and outputs as as up-to-date or success on the first run
|
||||
getTestClustersRunner("upToDate1", "upToDate2").build();
|
||||
BuildResult result = getTestClustersRunner("upToDate1", "upToDate2").build();
|
||||
assertTaskUpToDate(result, ":upToDate1", ":upToDate2");
|
||||
assertNotStarted(result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user