Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-13165 AsyncOfflineTest.testReset random failures (take 2) #9647

Merged
merged 1 commit into from Nov 19, 2021

Conversation

pruivo
Copy link
Member

@pruivo pruivo commented Nov 8, 2021

Problems:

  • State.accept() and onSendingCompleted() were running concurrently.
  • onSendingCompleted() triggers an IRAC round but the State.stateStatus
    was not updated.
  • The new round would not retry to send the key again making the test fail.

https://issues.redhat.com/browse/ISPN-13165

馃

Copy link
Member

@danberindei danberindei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review, forgot to press the green button

@pruivo
Copy link
Member Author

pruivo commented Nov 17, 2021

updated

@pruivo
Copy link
Member Author

pruivo commented Nov 18, 2021

updated

  • renamed sendFail() with retrySend()
  • on discard() method removed removeStateFromLocal(this) from the synchronized block

Problems:
* State.accept() and onSendingCompleted() were running concurrently.
* onSendingCompleted() triggers an IRAC round but the State.stateStatus
   was not updated.
* The new round would not retry to send the key again making the test fail.
@pruivo
Copy link
Member Author

pruivo commented Nov 19, 2021

updated!

@danberindei danberindei merged commit b2f6008 into infinispan:main Nov 19, 2021
@danberindei
Copy link
Member

Merged, thanks Pedro!

@pruivo pruivo deleted the t_13165_take2 branch November 19, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants