mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Fix the autobahn test suite
All tests still pass! (Excluding UTF-8 of course.)
This commit is contained in:
parent
aeb86e70c1
commit
e128e935af
1 changed files with 4 additions and 2 deletions
|
@ -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) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue