Просмотр исходного кода

Remove unnecessary match in tests.

Roberto Ostinelli 9 лет назад
Родитель
Сommit
5653940ecd
1 измененных файлов с 2 добавлено и 4 удалено
  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,