Browse Source

Remove unnecessary match in tests.

Roberto Ostinelli 9 years ago
parent
commit
5653940ecd
1 changed files with 2 additions and 4 deletions
  1. 2 4
      test/syn_consistency_SUITE.erl

+ 2 - 4
test/syn_consistency_SUITE.erl

@@ -329,10 +329,8 @@ two_nodes_netsplit_kill_resolution_when_there_are_conflicts(Config) ->
 
     KilledPid = lists:nth(1, lists:delete(FoundPid, [LocalPid, SlavePid])),
     receive
-        {exited, undefined, KilledPid, undefined, killed} -> ok;
-        Other ->
-            ok = Other
-    after 2000 ->
+        {exited, undefined, KilledPid, undefined, killed} -> ok
+    after 3000 ->
         ok = process_exit_callback_was_not_called_from_local_node
     end,