Matthew R Kasun 4 年之前
父节点
当前提交
6558c0bd59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      user_test.go

+ 1 - 1
user_test.go

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