From 6f10a861a98baa1df539b4c6b6e6d65bfdaec51c Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 17 Apr 2017 13:53:30 +0900 Subject: [PATCH] added test environment --- crawler_manager_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crawler_manager_test.go b/crawler_manager_test.go index 666acb2..8b7bee0 100644 --- a/crawler_manager_test.go +++ b/crawler_manager_test.go @@ -143,7 +143,7 @@ func TestCrateDir(t *testing.T) { configPath = append(configPath, ConfigFolder + "/network/redis/") configPath = append(configPath, ConfigFolder + "/network/ldap/") - + configPath = append(configPath, PidFolder) var containerPath []string; @@ -151,7 +151,7 @@ func TestCrateDir(t *testing.T) { containerPath = append(containerPath, BinaryFolder + "/go/") containerPath = append(containerPath, BinaryFolder + "/network/") - containerPath = append(containerPath, PidFolder) + b, _:=ioutil.ReadFile(cp + "config/example.json")