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

ASF GitHub Bot commented on GEODE-9026:
---------------------------------------

gaussianrecurrence opened a new pull request #762:
URL: https://github.com/apache/geode-native/pull/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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>
> 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)

Reply via email to