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