integration: Use smaller interval to check server availability

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-19 21:25:59 +09:00
parent 8f45bf7b9e
commit 467565589c
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func newServerTester(args []string, t *testing.T, handler http.HandlerFunc) *ser
if retry >= 10 {
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
}
st.conn = conn