Browse Source

Ensure to wait enough time for global process naming to propagate.

Roberto Ostinelli 10 years ago
parent
commit
33edec9aba
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      test/syn_netsplits_SUITE.erl

+ 1 - 1
README.md

@@ -169,7 +169,7 @@ For example, if you want the message `shutdown` to be send to the discarded proc
 
 
 If you don't set this option, then the default will apply (i.e. sending the `exit(Pid, kill)` signal).
 If you don't set this option, then the default will apply (i.e. sending the `exit(Pid, kill)` signal).
 
 
-> Important Note: The conflict resolution method SHOULD BE defined in the same way across all nodes of the cluster. Having different conflict resolution options on different nodes can have unexpected results.
+> Important Note: The conflict resolution method SHOULD be defined in the same way across all nodes of the cluster. Having different conflict resolution options on different nodes can have unexpected results.
 
 
 
 
 ## Internals
 ## Internals

+ 1 - 1
test/syn_netsplits_SUITE.erl

@@ -368,6 +368,6 @@ two_nodes_netsplit_message_resolution_when_there_are_conflicts(Config) ->
 process_reply_main() ->
 process_reply_main() ->
     receive
     receive
         shutdown ->
         shutdown ->
-            timer:sleep(100), %% wait for global processes to propagate
+            timer:sleep(500), %% wait for global processes to propagate
             global:send(syn_netsplits_SUITE_result, {exited, self()})
             global:send(syn_netsplits_SUITE_result, {exited, self()})
     end.
     end.