zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (ZOOKEEPER-2692) Fix race condition in testWatchAutoResetWithPending
Date Tue, 21 Feb 2017 17:09:44 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Han reopened ZOOKEEPER-2692:
------------------------------------

Looks like this introduces a regression on one watcher test.

{noformat}

###################################################################################
############################## FAILED TESTS (if any) ##############################
1 tests failed.
FAILED:  org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged

Error Message:
expected:<NodeDataChanged> but was:<NodeDeleted>

Stack Trace:
junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted>
        at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67)
        at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:117)
        at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
{noformat}

See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/951/
https://builds.apache.org/job/ZooKeeper-trunk-jdk8/946/

[~abrahamfine] Could you please look at why this test fail and patch it?

> Fix race condition in testWatchAutoResetWithPending
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-2692
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2692
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 3.4.9, 3.5.3, 3.6.0
>            Reporter: Abraham Fine
>            Assignee: Abraham Fine
>             Fix For: 3.4.10, 3.5.3, 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message