[
https://issues.apache.org/jira/browse/FLINK-12006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803051#comment-16803051
]
TisonKun commented on FLINK-12006:
----------------------------------
It looks like such a repeat test a common request, we could take it into
consideration as a follow up to emulate {{@RepeatedTest}} in Junit5. A related
post is on
https://turreta.com/2017/07/15/junit-4-run-test-method-more-than-once/
> ZooKeeperHaServicesTest.testSimpleCloseAndCleanupAllData is unstable
> --------------------------------------------------------------------
>
> Key: FLINK-12006
> URL: https://issues.apache.org/jira/browse/FLINK-12006
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Reporter: Aljoscha Krettek
> Assignee: TisonKun
> Priority: Critical
> Labels: pull-request-available, test-stability
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This is the log from a failed Travis run:
> https://travis-ci.org/apache/flink/jobs/510263371
> The relevant section is:
> {code}
> 11:15:11.201 [INFO] Running
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest
> 11:15:12.908 [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time
> elapsed: 9.255 s - in org.apache.flink.runtime.jobmaster.JobMasterTest
> 11:15:13.646 [INFO] Running
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperRegistryTest
> 11:15:14.874 [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time
> elapsed: 3.67 s <<< FAILURE! - in
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest
> 11:15:14.874 [ERROR]
> testSimpleCloseAndCleanupAllData(org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest)
> Time elapsed: 0.132 s <<< FAILURE!
> java.lang.AssertionError:
> Expected: is <[zookeeper]>
> but: was <[zookeeper, foo]>
> at
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest.testSimpleCloseAndCleanupAllData(ZooKeeperHaServicesTest.java:136)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)