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

Darrel Schneider updated GEODE-6524:
------------------------------------
    Priority: Minor  (was: Major)

> TestFunction.TEST_FUNCTION_ONSERVER_REEXECUTE_EXCEPTION will only work if 
> executed repeatedly on the same server
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6524
>                 URL: https://issues.apache.org/jira/browse/GEODE-6524
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Darrel Schneider
>            Priority: Minor
>
> TestFunction.TEST_FUNCTION_ONSERVER_REEXECUTE_EXCEPTION will only work if 
> executed repeatedly on the same server.
> But the test that uses this function: 
> org.apache.geode.internal.cache.execute.ClientServerFunctionExecutionDUnitTest.testOnServerExecution_FunctionInvocationTargetException()
>  has 3 servers in its pool that it uses to execute the function. The test 
> would be fine if it had only one server in the pool. Currently it passes 
> because our current pool implementation keeps returning the same connection 
> when the retries happen. But if that retry logic was ever improved to not 
> retry on the same connection then the test would fail. The function keeps 
> some counts in statics but different servers will have their own copy of 
> those static counters.
> I would suggest just rewriting this test to only have one server. That would 
> prevent it from accidently doing the retries on other servers.
>  



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

Reply via email to