[ 
https://issues.apache.org/jira/browse/FLINK-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582125#comment-15582125
 ] 

Alexander Shoshin edited comment on FLINK-4283 at 10/17/16 12:37 PM:
---------------------------------------------------------------------

I agree that these tests shouldn't depends on available threads number.
Adding a testing _RestartStrategy_ to test casses that will emulate infinite 
restart delay by doing nothing when _restart(...)_ method called sounds good.
Should I do this way?


was (Author: alexandershoshin):
I agree that these tests shouldn't depends on available threads number.
Adding a _RestartStrategy_ to test casses that will emulate infinite restart 
delay by doing nothing when _restart(...)_ method called sounds good.
Should I do this way?

> ExecutionGraphRestartTest fails
> -------------------------------
>
>                 Key: FLINK-4283
>                 URL: https://issues.apache.org/jira/browse/FLINK-4283
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: Ubuntu 14.04
> W10
>            Reporter: Chesnay Schepler
>            Assignee: Alexander Shoshin
>              Labels: test-stability
>
> I encounter reliable failures for the following tests:
> testRestartAutomatically(org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest)
>   Time elapsed: 120.089 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<RUNNING> but was:<RESTARTING>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.restartAfterFailure(ExecutionGraphRestartTest.java:680)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.testRestartAutomatically(ExecutionGraphRestartTest.java:155)
> taskShouldNotFailWhenFailureRateLimitWasNotExceeded(org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest)
>   Time elapsed: 2.055 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<RUNNING> but was:<RESTARTING>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.restartAfterFailure(ExecutionGraphRestartTest.java:680)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.taskShouldNotFailWhenFailureRateLimitWasNotExceeded(ExecutionGraphRestartTest.java:180)
> testFailingExecutionAfterRestart(org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest)
>   Time elapsed: 120.079 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<RUNNING> but was:<RESTARTING>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.flink.runtime.executiongraph.ExecutionGraphRestartTest.testFailingExecutionAfterRestart(ExecutionGraphRestartTest.java:397)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to