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

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

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

GEODE-3523 AutoConnectionSourceDUnitTest: testDynamicallyFindLocators failed

Refactored the test into two smaller tests, one that tests that a client
discovers another locator and another that tests that a client discovers
that a locator has gone away.

I did some general updating of the code in this class to
- replace SerializableCallable/Runnables with lambdas
- replace wait-loops with Awaitility
- replace use of AvailablePortHelper with wildcard binds
- replace ignoring of Exceptions with checks for the correct exception class
- replaced heavy use of deprecated methods with their non-deprecated versions

This closes #1837


> 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
>            Assignee: Addison
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  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)

Reply via email to