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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a race condition test for ClientOrders code #260

Open
andrzejkrzywda opened this issue Jan 26, 2023 · 1 comment
Open

Write a race condition test for ClientOrders code #260

andrzejkrzywda opened this issue Jan 26, 2023 · 1 comment

Comments

@andrzejkrzywda
Copy link
Contributor

Following this post should be fine:
https://blog.arkency.com/2015/09/testing-race-conditions/

The idea is to "justify" the existence of the advisory_lock mechanism. We want to prevent someone removing it by accident/refucktoring and have a failing test for it.
It doesn't need to be mutation testable - it might be expensive.
Some sort of mutant ignore should be fine.
Newest mutant has a way to filter out such calls like advisory_lock.

@andrzejkrzywda
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant