[
https://issues.apache.org/jira/browse/FLINK-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565666#comment-15565666
]
ASF GitHub Bot commented on FLINK-3706:
---------------------------------------
Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/2622#discussion_r82810425
--- Diff:
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java ---
@@ -670,11 +684,13 @@ public void run() {
throw new
RuntimeException("Unknown type " + type);
}
- if (returnValue != 0) {
- Assert.fail("The YARN session returned
with non-null value=" + returnValue);
+ if (returnValue != this.expectedReturnValue) {
+ Assert.fail("The YARN session returned
with unexpected value=" + returnValue + " expected=" + expectedReturnValue);
--- End diff --
This check is duplicate because it is already performed in the `Runner`.
> YARNSessionCapacitySchedulerITCase.testNonexistingQueue unstable
> ----------------------------------------------------------------
>
> Key: FLINK-3706
> URL: https://issues.apache.org/jira/browse/FLINK-3706
> Project: Flink
> Issue Type: Bug
> Reporter: Aljoscha Krettek
> Assignee: Robert Metzger
> Priority: Critical
> Labels: test-stability
> Attachments: log.txt
>
>
> I encountered a failed test on travis.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)