curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-218) TreeCache initialization problem with non existant root path
Date Thu, 25 Jun 2015 14:55:04 GMT

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

Mike Drob commented on CURATOR-218:
-----------------------------------

bq. The tests never fail for me. Do I have to run multiple times to see failure?
Since the loop is creating connections 50 times, I tend to see a true failure every time I
run. Try increasing the count to 500, if you want? Might be a hardware issue, or software
version issue, too? I'm on maven 3.2.3, Java8u45, Ubuntu 14.04.

bq. FYI - using git bisect I found out that this version of blockUntilConnected is relatively
new:
Hmm, I might have found a different issue then? Or it's possible that a different race condition
existed before as well.

> TreeCache initialization problem with non existant root path
> ------------------------------------------------------------
>
>                 Key: CURATOR-218
>                 URL: https://issues.apache.org/jira/browse/CURATOR-218
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.7.0, 2.7.1, 2.8.0
>         Environment: host: AWS EC2 t2.medium type
> uname -a = Linux bamboo-agent 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a = 
> Distributor ID:	Ubuntu
> Description:	Ubuntu 14.04.1 LTS
> Release:	14.04
> Codename:	trusty
> ZK version: is a curator TestingServer
> java: java 8
> maven: 3.2.5
>            Reporter: Samuel García Martínez
>            Assignee: Scott Blum
>         Attachments: failing_test.txt
>
>
> I'm implementing a Guava service relying on the startAsync feature. I'm using a listener
to wait for the INITIALIZED event to fire the guava service notifyStarted method, but sometimes
the listener never receives the event if the root path does not exist.
> I've created a repository with a failing test (looping over the failing test to force
it).
> repo with tests: https://github.com/samuelgmartinez/curator-treecache-tests.git
> failing test: mvn -Dtest=TreeCacheTest#testListenerNonExistentRootLoop test



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

Mime
View raw message