GitHub user hsaputra opened a pull request:
https://github.com/apache/flink/pull/460
[FLINK-1651] Fix test case at JobManagerStartupTest to avoid hang on
certain users
JobManagerStartupTest should not assume user could not create
/does-not-exist-no-sir dir.
Sometimes, user that run tests could have write access to root directory so
creating /does-not-exist-no-sir is possible,
hence no exception thrown.
Need to construct a Flink test directory under directory specified under
"java.io.tmpdir" and change the permission
to not allow create new directory.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hsaputra/flink
FLINK-1651_fix_jobmanager_fail_test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/460.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 #460
----
commit 5d46716fb8f1bc70534721596f11add946330bb0
Author: Henry Saputra <[email protected]>
Date: 2015-03-06T20:42:52Z
[FLINK-1651] Fix test case at JobManagerStartupTest should not assume user
could not create /does-not-exist-no-sir dir.
Sometimes, user that run tests could have write access to root directory so
creating /does-not-exist-no-sir is possible,
hence no exception thrown.
Need to construct a Flink test directory under directory specified under
"java.io.tmpdir" and change the permission
to not allow create new directory.
----
---
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.
---