Browse Source

Fix application start order in tests, gun depends on cowlib

Loïc Hoguin 11 years ago
parent
commit
71b8316b0d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/http_SUITE.erl

+ 2 - 2
test/http_SUITE.erl

@@ -128,8 +128,8 @@ init_per_suite(Config) ->
 	application:start(public_key),
 	application:start(ssl),
 	application:start(ranch),
-	application:start(gun),
 	application:start(cowlib),
+	application:start(gun),
 	application:start(cowboy),
 	Dir = ?config(priv_dir, Config) ++ "/static",
 	ct_helper:create_static_dir(Dir),
@@ -139,8 +139,8 @@ end_per_suite(Config) ->
 	Dir = ?config(static_dir, Config),
 	ct_helper:delete_static_dir(Dir),
 	application:stop(cowboy),
-	application:stop(cowlib),
 	application:stop(gun),
+	application:stop(cowlib),
 	application:stop(ranch),
 	application:stop(ssl),
 	application:stop(public_key),