Commit ab88d73c authored by Manuel Kieweg's avatar Manuel Kieweg 🤷
Browse files

add sleep in controller test

parent 559e6283
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment