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:
Clint Wylie 2018-09-11 19:16:59 -07:00 committed by Gian Merlino
parent 7f3a0dae28
commit 96a1076e23
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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>