Matthew R Kasun 4 years ago
parent
commit
6558c0bd59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      user_test.go

+ 1 - 1
user_test.go

@@ -47,7 +47,7 @@ func TestMain(m *testing.M) {
 	waitgroup.Add(1)
 	waitgroup.Add(1)
 	go controller.HandleRESTRequests(&waitgroup)
 	go controller.HandleRESTRequests(&waitgroup)
 	//wait for http server to start
 	//wait for http server to start
-	time.Sleep(time.Second * 30)
+	time.Sleep(time.Second * 1)
 	os.Exit(m.Run())
 	os.Exit(m.Run())
 }
 }