diff --git a/nucleus/controller_test.go b/nucleus/controller_test.go index 0e5fc9596163533675884874743b2f13bbbcba6e..b04349038c6687b9349e518c7947b17eaed82659 100644 --- a/nucleus/controller_test.go +++ b/nucleus/controller_test.go @@ -5,6 +5,7 @@ import ( "net/http" "reflect" "testing" + "time" ) func TestRun(t *testing.T) { @@ -38,6 +39,7 @@ func TestRun(t *testing.T) { t.Errorf("Run() error = %v", err) } }() + time.Sleep(time.Second) t.Run("Controller Start HTTP API", func(t *testing.T) { got, err := http.Get(tests[0].args.request) if err != nil {