geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <>
Subject [jira] [Commented] (GEODE-192) ClientServerTransactionCCEDUnitTest.testClientCommitFunction fails intermittently
Date Fri, 23 Oct 2015 21:02:27 GMT


Dan Smith commented on GEODE-192:

I've tracked this down, and I've made a couple changes to the test to make it reproduce every

The issue is that the test only invokes functions to access the data on the server. When it
calls  TransactionFunctionService.onTransaction, that method requires the client to already
have a connection to the member hosting the transaction. But the earlier function calls may
have gone through the other server.

The reason the test passes most of the time is that the PRsingle hop mechanism asynchronously
is creating a connection to all of the servers. If that runs in time the test will pass. Disabling
single hop and setting min connections to 0 makes the test fail every other time.

> ClientServerTransactionCCEDUnitTest.testClientCommitFunction fails intermittently
> ---------------------------------------------------------------------------------
>                 Key: GEODE-192
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Dan Smith
>            Priority: Minor
>              Labels: CI
> ClientServerTransactionCCEDUnitTest.testClientCommitFunction failed recently on a private
build. The only changes on that branch (feature/GEODE-185) had to do with an expiration unit
test and some minor expiration changes.
> This failure is intermittent even on that branch.
> dunit.RMIException: While invoking com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest$
in VM 2 running on Host with 4 VMs
> 	at dunit.VM.invoke(
> 	at dunit.VM.invoke(
> 	at dunit.VM.invoke(
> 	at com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest.doFunctionWork(
> 	at com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest.testClientCommitFunction(
> Caused by: com.gemstone.gemfire.cache.TransactionDataNodeHasDepartedException: Could
not connect to member:watson(12644)<v169>:44703
> 	at com.gemstone.gemfire.internal.cache.execute.TransactionFunctionService.onTransaction(
> 	at com.gemstone.gemfire.internal.cache.ClientServerTransactionDUnitTest$

This message was sent by Atlassian JIRA

View raw message