Test case flakiness due to the multi threaded nature of test case execution
shubhamaggarwal opened this issue · 0 comments
shubhamaggarwal commented
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.