From 71b8316b0df197928a80ff6722eb326ab3b7699b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Fri, 11 Apr 2014 14:34:35 +0200
Subject: Fix application start order in tests, gun depends on cowlib

---
 test/http_SUITE.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'test')

diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 9af02cf..4b93c67 100644
--- a/test/http_SUITE.erl
+++ b/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),
-- 
cgit v1.2.3