[
https://issues.apache.org/jira/browse/GEODE-9026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302903#comment-17302903
]
ASF subversion and git services commented on GEODE-9026:
--------------------------------------------------------
Commit dfef975a1ca1c5595c58ce56cc0ff73a6faa7df9 in geode-native's branch
refs/heads/develop from Mario Salazar de Torres
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=dfef975 ]
GEODE-9026: Fix RegisterKeysTest race condition (#762)
- Sometimes it could happen that in RegisterAllWithConsistencyDisabled
test the call to afterDestroy happens before the expectance is set.
THis leads to the test sporiously failing.
- Expect call has been moved after the listener instantiation to avoid
this race condition.
> Fix race-condition for RegisterAllWithConsistencyDisabled IT
> ------------------------------------------------------------
>
> Key: GEODE-9026
> URL: https://issues.apache.org/jira/browse/GEODE-9026
> Project: Geode
> Issue Type: Bug
> Components: native client
> Affects Versions: 1.13.1
> Reporter: Mario Salazar de Torres
> Assignee: Mario Salazar de Torres
> Priority: Major
> Labels: pull-request-available
>
> There is a race condition in this test having to do with GMock's expectances
> being set after the call happens. This can be solved as easily as setting the
> expectance sooner.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)