You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/21 05:37:00 UTC
[jira] [Commented] (FLINK-9230) WebFrontendITCase.testStopYarn is
unstable
[ https://issues.apache.org/jira/browse/FLINK-9230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446643#comment-16446643 ]
ASF GitHub Bot commented on FLINK-9230:
---------------------------------------
GitHub user sihuazhou opened a pull request:
https://github.com/apache/flink/pull/5886
[FLINK-9230][test] harden WebFrontendITCase#testStopYarn()
## What is the purpose of the change
This PR aim to harden `WebFrontendITCase#testStopYarn()`.
## Brief change log
- *harden `WebFrontendITCase#testStopYarn()`*
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
no
## Documentation
no
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sihuazhou/flink hardenTestStopYarn
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5886.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 #5886
----
commit 516dfd9dd7ac63b858c924ae57a88dde52ad1715
Author: sihuazhou <su...@...>
Date: 2018-04-21T05:34:21Z
harden WebFrontendITCase#testStopYarn()
----
> WebFrontendITCase.testStopYarn is unstable
> ------------------------------------------
>
> Key: FLINK-9230
> URL: https://issues.apache.org/jira/browse/FLINK-9230
> Project: Flink
> Issue Type: Improvement
> Components: Tests
> Environment: The latest commit : 7d0bfd51e967eb1eb2c2869d79cb7cd13b8366dd on master branch.
> Reporter: mingleizhang
> Assignee: Sihua Zhou
> Priority: Major
>
> https://api.travis-ci.org/v3/job/369380167/log.txt
> {code:java}
> Running org.apache.flink.runtime.webmonitor.WebFrontendITCase
> Running org.apache.flink.runtime.webmonitor.WebRuntimeMonitorITCase
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.348 sec <<< FAILURE! - in org.apache.flink.runtime.webmonitor.WebFrontendITCase
> testStopYarn(org.apache.flink.runtime.webmonitor.WebFrontendITCase) Time elapsed: 1.365 sec <<< FAILURE!
> java.lang.AssertionError: expected:<202 Accepted> but was:<404 Not Found>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.apache.flink.runtime.webmonitor.WebFrontendITCase.testStopYarn(WebFrontendITCase.java:359)
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.805 sec - in org.apache.flink.runtime.webmonitor.WebRuntimeMonitorITCase
> Results :
> Failed tests:
> WebFrontendITCase.testStopYarn:359 expected:<202 Accepted> but was:<404 Not Found>
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0
> 02:17:10.224 [INFO] ------------------------------------------------------------------------
> 02:17:10.224 [INFO] Reactor Summary:
> 02:17:10.224 [INFO]
> 02:17:10.224 [INFO] flink-core ......................................... SUCCESS [ 58.759 s]
> 02:17:10.224 [INFO] flink-java ......................................... SUCCESS [ 30.613 s]
> 02:17:10.224 [INFO] flink-runtime ...................................... SUCCESS [22:26 min]
> 02:17:10.224 [INFO] flink-optimizer .................................... SUCCESS [ 5.508 s]
> 02:17:10.224 [INFO] flink-clients ...................................... SUCCESS [ 12.354 s]
> 02:17:10.224 [INFO] flink-streaming-java ............................... SUCCESS [02:53 min]
> 02:17:10.224 [INFO] flink-scala ........................................ SUCCESS [ 18.968 s]
> 02:17:10.225 [INFO] flink-test-utils ................................... SUCCESS [ 4.826 s]
> 02:17:10.225 [INFO] flink-statebackend-rocksdb ......................... SUCCESS [ 13.644 s]
> 02:17:10.225 [INFO] flink-runtime-web .................................. FAILURE [ 15.095 s]
> 02:17:10.225 [INFO] flink-streaming-scala .............................. SKIPPED
> 02:17:10.225 [INFO] flink-scala-shell .................................. SKIPPED
> 02:17:10.225 [INFO] ------------------------------------------------------------------------
> 02:17:10.225 [INFO] BUILD FAILURE
> 02:17:10.225 [INFO] ------------------------------------------------------------------------
> 02:17:10.225 [INFO] Total time: 28:03 min
> 02:17:10.225 [INFO] Finished at: 2018-04-21T02:17:10+00:00
> 02:17:10.837 [INFO] Final Memory: 87M/711M
> 02:17:10.837 [INFO] ------------------------------------------------------------------------
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)