mirror of https://github.com/apache/druid.git
allow 3 retries for failing tests (#6324)
* allow 1 retry for failing tests idk if this is a good idea, but false failure rate due to flaky tests seems pretty bad lately * try to fix retry issue with teardown * Update pom.xml * Update pom.xml
This commit is contained in:
parent
7f3a0dae28
commit
96a1076e23
|
@ -125,6 +125,7 @@ public class PrefetchableTextFilesFirehoseFactoryTest
|
|||
for (File dir : FIREHOSE_TMP_DIRS) {
|
||||
FileUtils.forceDelete(dir);
|
||||
}
|
||||
FIREHOSE_TMP_DIRS.clear(); // cleanup after ourselves (resolve issue with retries)
|
||||
}
|
||||
|
||||
private static void assertResult(List<Row> rows)
|
||||
|
|
3
pom.xml
3
pom.xml
|
@ -92,6 +92,9 @@
|
|||
<repoOrgId>org-apache-id</repoOrgId>
|
||||
<repoOrgName>org-apache-name</repoOrgName>
|
||||
<repoOrgUrl>https://repository.apache.org/content/repositories/public/</repoOrgUrl>
|
||||
|
||||
<!-- Allow the handful of flaky tests with transient failures to pass. -->
|
||||
<surefire.rerunFailingTestsCount>3</surefire.rerunFailingTestsCount>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
|
|
Loading…
Reference in New Issue