Browse Source

Fix the autobahn test suite

All tests still pass! (Excluding UTF-8 of course.)
Loïc Hoguin 12 years ago
parent
commit
e128e935af
1 changed files with 4 additions and 2 deletions
  1. 4 2
      test/autobahn_SUITE.erl

+ 4 - 2
test/autobahn_SUITE.erl

@@ -36,7 +36,8 @@ groups() ->
 	[{autobahn, [], BaseTests}].
 	[{autobahn, [], BaseTests}].
 
 
 init_per_suite(Config) ->
 init_per_suite(Config) ->
-	application:start(inets),
+	application:start(crypto),
+	application:start(ranch),
 	application:start(cowboy),
 	application:start(cowboy),
 	%% /tmp must be used as the parent directory for the virtualenv because
 	%% /tmp must be used as the parent directory for the virtualenv because
 	%% the directory names used in CT are so long that the interpreter path
 	%% the directory names used in CT are so long that the interpreter path
@@ -56,7 +57,8 @@ init_per_suite(Config) ->
 end_per_suite(_Config) ->
 end_per_suite(_Config) ->
 	os:cmd("deactivate"),
 	os:cmd("deactivate"),
 	application:stop(cowboy),
 	application:stop(cowboy),
-	application:stop(inets),
+	application:stop(ranch),
+	application:stop(crypto),
 	ok.
 	ok.
 
 
 init_per_group(autobahn, Config) ->
 init_per_group(autobahn, Config) ->