You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/01/23 13:56:00 UTC
[jira] [Updated] (FLINK-15651) JarHandlerTest.testRunJar fails on
travis
[ https://issues.apache.org/jira/browse/FLINK-15651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-15651:
-------------------------------------
Affects Version/s: (was: 1.11.0)
1.10.0
> JarHandlerTest.testRunJar fails on travis
> -----------------------------------------
>
> Key: FLINK-15651
> URL: https://issues.apache.org/jira/browse/FLINK-15651
> Project: Flink
> Issue Type: Bug
> Components: Runtime / REST
> Affects Versions: 1.10.0
> Reporter: Zhu Zhu
> Priority: Critical
>
> The test JarHandlerTest.testRunJar fails on travis with error below:
> {code:java}
> 09:48:58.828 [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.061 s <<< FAILURE! - in org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest
> 09:48:58.829 [ERROR] testRunJar(org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest) Time elapsed: 0.2 s <<< FAILURE!
> java.lang.AssertionError:
> Expected: a string containing "ProgramInvocationException"
> but: was "[Service temporarily unavailable due to an ongoing leader election. Please refresh.]"
> at org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest.runTest(JarHandlerTest.java:125)
> at org.apache.flink.runtime.webmonitor.handlers.JarHandlerTest.testRunJar(JarHandlerTest.java:74)
> {code}
> Seems the cause is the client sends request before the leader election is done.
> https://api.travis-ci.com/v3/job/276751147/log.txt
--
This message was sent by Atlassian Jira
(v8.3.4#803005)