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

Skip the upgrade test on Windows

Loïc Hoguin 5 лет назад
Родитель
Сommit
2ec0aa6bff
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      test/upgrade_SUITE.erl

+ 8 - 0
test/upgrade_SUITE.erl

@@ -164,6 +164,14 @@ do_downgrade(Example) ->
 %% Tests.
 
 upgrade_ranch_one_conn(_) ->
+	case os:type() of
+		{win32, nt} ->
+			{skip, "This test suite is not currently supported on Windows."};
+		_ ->
+			do_upgrade_ranch_one_conn()
+	end.
+
+do_upgrade_ranch_one_conn() ->
 	Example = tcp_echo,
 	Port = 5555,
 	try