"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "98a6d3b91076f8239b9db0e131175de2de990b4a"
fix: Fix race condition in kv_router unit test (#1174)
Removed the hard coded sleeps, explained what we're testing. Closes https://github.com/ai-dynamo/dynamo/issues/1132 The race condition is that `apply_event` sends a message on a channel, it does not directly apply the event. At some later point the tokio runtime schedules the task running the channel receiver, which applies the event. If that had not happened yet the test would fail.
Showing
Please register or sign in to comment