[ https://issues.apache.org/jira/browse/FLINK-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399214#comment-15399214 ]
ASF GitHub Bot commented on FLINK-4277: --------------------------------------- Github user mxm commented on the issue: https://github.com/apache/flink/pull/2310 Thanks for the PR @zentol. The test didn't fail because the exception is swallowed in a catch block: ```java } catch (Exception e) { e.printStackTrace(); } ``` It has to be changed in this PR to not swallow exceptions. > TaskManagerConfigurationTest fails > ---------------------------------- > > Key: FLINK-4277 > URL: https://issues.apache.org/jira/browse/FLINK-4277 > Project: Flink > Issue Type: Bug > Components: Tests > Affects Versions: 1.1.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > > When running this test on Ubuntu i encountered this error: > Running org.apache.flink.runtime.taskmanager.TaskManagerConfigurationTest > java.lang.Exception: Could not load configuration > at > org.apache.flink.runtime.taskmanager.TaskManager$.parseArgsAndLoadConfig(TaskManager.scala:1526) > at > org.apache.flink.runtime.taskmanager.TaskManager.parseArgsAndLoadConfig(TaskManager.scala) > at > org.apache.flink.runtime.taskmanager.TaskManagerConfigurationTest.testDefaultFsParameterLoading(TaskManagerConfigurationTest.java:125) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > Caused by: org.apache.flink.configuration.IllegalConfigurationException: The > Flink config file > '/tmp/26d1532e-a1f2-4007-bf77-f66c92669241/33c51581-617c-4029-8b6e-11b9a55c792b.yaml/flink-conf.yaml' > > (/tmp/26d1532e-a1f2-4007-bf77-f66c92669241/33c51581-617c-4029-8b6e-11b9a55c792b.yaml) > does not exist. -- This message was sent by Atlassian JIRA (v6.3.4#6332)