[ 
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 stale-minor test-stability  (was: 
auto-deprioritized-major test-stability)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issues has been marked as 
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is 
still Minor, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.


> 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
>            Priority: Minor
>              Labels: auto-deprioritized-major, stale-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)

Reply via email to