-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a race condition in service_domain_db_suite.db_keeps_syncing_afte…
…r_cluster_join sync() assumes that sending message from mim() to mim2() node is instant But it is not true, so check_for_updates message is received after sync_local call in tests. I.e. the following scenario fails: 1. Test node asks mim2() to insert a domain. 2. mim2() sends check_for_updates to mim() node. 3. Test node calls sync_local on mim() node. 4. mim() calls sync_local and replies to the test node. 5. mim() finally receives check_for_updates from mim2(), send in step 2.
- Loading branch information
1 parent
6cef853
commit 139130e
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters