give more time to server start

This commit is contained in:
Umputun
2018-10-19 16:13:37 -05:00
parent d2bbb5728d
commit 8e12b00ae8
+1 -1
View File
@@ -33,7 +33,7 @@ func TestMain(t *testing.T) {
wg.Done()
}()
time.Sleep(50 * time.Millisecond) // let server start
time.Sleep(200 * time.Millisecond) // let server start
// send ping
resp, err := http.Get("http://localhost:18202/api/v1/ping")