GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/3655
[FLINK-6175] Harden HistoryServerTest#testFullArchiveLifecycle
This PR hardens the `testFullArchiveLifecycle` test by introducing an
optional `CountdownLatch` argument to the HistoryServer constructor This latch
is updated after each finished archive poll, regardless of whether it failed or
not.
This simplifies the test and removes edge cases where the requested file
already exists but the contents weren't written yet.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 6175_hs_test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3655.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3655
----
commit 3e491a532330476ecf05f2eb319a95212569b52d
Author: zentol <[email protected]>
Date: 2017-03-23T12:58:03Z
[FLINK-6175] Harden HistoryServerTest#testFullArchiveLifecycle
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---