Skip to content

Commit

Permalink
Fixed test instability issues
Browse files Browse the repository at this point in the history
  • Loading branch information
midstar committed Feb 26, 2019
1 parent a6af79e commit f6e7864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func startserver(t *testing.T) {
func waitserver(t *testing.T) {
t.Helper()
client := http.Client{Timeout: 100 * time.Millisecond}
maxTries := 10
maxTries := 50
for i := 0; i < maxTries; i++ {
_, err := client.Get(fmt.Sprintf("%s", baseURL))
if err == nil {
Expand Down

0 comments on commit f6e7864

Please sign in to comment.