[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. Author: Henry Saputra <henry.saputra@gmail.com> Closes #460 from hsaputra/FLINK-1651_fix_jobmanager_fail_test and squashes the following commits: 5d46716 [Henry Saputra] [FLINK-1651] Fix test case at JobManagerStartupTest should not assume user could not create /does-not-exist-no-sir dir.
Showing
想要评论请 注册 或 登录