integration: Use smaller interval to check server availability
This commit is contained in:
parent
8f45bf7b9e
commit
467565589c
|
@ -84,7 +84,7 @@ func newServerTester(args []string, t *testing.T, handler http.HandlerFunc) *ser
|
||||||
if retry >= 10 {
|
if retry >= 10 {
|
||||||
st.t.Fatalf("Error server is not responding too long; server command-line arguments may be invalid")
|
st.t.Fatalf("Error server is not responding too long; server command-line arguments may be invalid")
|
||||||
}
|
}
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(150 * time.Millisecond)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
st.conn = conn
|
st.conn = conn
|
||||||
|
|
Loading…
Reference in New Issue