You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/02/22 21:33:00 UTC

[jira] [Commented] (GEODE-3523) AutoConnectionSourceDUnitTest: testDynamicallyFindLocators failed with Unable to connect to any locators in the list

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

ASF subversion and git services commented on GEODE-3523:
--------------------------------------------------------

Commit e9ada484eb671498e76698ef34b0b1d6fd28184b in geode's branch refs/heads/develop from [~geodeintegration]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=e9ada48 ]

GEODE-3523: Update locatorDiscoveryCallback after updating state

Some tests wait for this callback to be notified of new locators before
killing old locators. But The callback is called before the internal
state on the client is updated. So there was a race condition where the
test would know about the new locator, but the client code itself would
not use it yet.


> AutoConnectionSourceDUnitTest: testDynamicallyFindLocators failed with Unable to connect to any locators in the list
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3523
>                 URL: https://issues.apache.org/jira/browse/GEODE-3523
>             Project: Geode
>          Issue Type: Bug
>          Components: locator
>            Reporter: Hitesh Khamesra
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> org.apache.geode.cache.client.internal.AutoConnectionSourceDUnitTest > testDynamicallyFindLocators FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.client.internal.AutoConnectionSourceDUnitTest$3.call in VM 2 running on Host 97e556d10832 with 4 VMs
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:387)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:357)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:325)
>         at org.apache.geode.cache.client.internal.AutoConnectionSourceDUnitTest.putInVM(AutoConnectionSourceDUnitTest.java:470)
>         at org.apache.geode.cache.client.internal.AutoConnectionSourceDUnitTest.putAndWaitForSuccess(AutoConnectionSourceDUnitTest.java:448)
>         at org.apache.geode.cache.client.internal.AutoConnectionSourceDUnitTest.testDynamicallyFindLocators(AutoConnectionSourceDUnitTest.java:199)
>         Caused by:
>         org.apache.geode.cache.client.NoAvailableLocatorsException: Unable to connect to any locators in the list [LocatorAddress [socketInetAddress=97e556d10832/172.17.0.4:26078, hostname=97e556d10832, isIpString=false], LocatorAddress [socketInetAddress=97e556d10832/172.17.0.4:29796, hostname=172.17.0.4, isIpString=true]]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)