[
https://issues.apache.org/jira/browse/FLINK-26341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-26341:
-----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor test-stability
(was: auto-deprioritized-major stale-minor test-stability)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, please
raise the priority and ask a committer to assign you the issue or revive the
public discussion.
> ZooKeeperTestEnvironment does not allow for repeated test execution
> -------------------------------------------------------------------
>
> Key: FLINK-26341
> URL: https://issues.apache.org/jira/browse/FLINK-26341
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.13.6, 1.14.3, 1.15.0
> Reporter: Matthias Pohl
> Assignee: Rui Fan
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor,
> test-stability
>
> {{ZooKeeperTestEnvironment.deleteAll}} fails when rerunning a test due to the
> client not being started:
> {code}
> java.lang.IllegalStateException: Client is not started
> at
> org.apache.flink.shaded.curator5.org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:507)
> at
> org.apache.flink.shaded.curator5.org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:139)
> at
> org.apache.flink.runtime.zookeeper.ZooKeeperTestEnvironment.deleteAll(ZooKeeperTestEnvironment.java:145)
> at
> org.apache.flink.runtime.checkpoint.ZooKeeperCheckpointIDCounterITCase.cleanUp(ZooKeeperCheckpointIDCounterITCase.java:48)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [...]
> {code}
> This behavior was observed when running various tests with
> repeat-until-failure enabled in Intellij:
> * {{ZooKeeperCheckpointIDCounterITCase.testShutdownRemovesState}}
> * {{ZooKeeperStateHandleStoreTest.testAddAndLock}}
> *
> {{ZooKeeperStateHandleStoreTest.testFailingAddWithPossiblyInconsistentState}}
> I'd assume that this applies in any other case as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)