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

Test case flakiness due to the multi threaded nature of test case execution #131

Open
shubhamaggarwal opened this issue Mar 7, 2022 · 0 comments
Labels
good first issue Good for newcomers validation Testing or benchmarking

Comments

@shubhamaggarwal
Copy link
Collaborator

Problem: Test cases in this repository are executed in a multi threaded manner. The test cases are written in a way where the ports are shared among multiple test cases which spawn multiple dkv servers. This causes concurrency issues as there is no concurrency control on access of these shared variables. Due to this the test case execution is flaky and sometimes requires multiple attempts to pass.

Proposed Solution: Use local (and unique) port numbers for different test cases.

@shubhamaggarwal shubhamaggarwal added good first issue Good for newcomers validation Testing or benchmarking labels Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers validation Testing or benchmarking
Projects
None yet
Development

No branches or pull requests

1 participant