Skip to content

Commit

Permalink
Updating max storage test wait time to 10 seconds
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Goldsworthy <jtgolds6@gmail.com>
  • Loading branch information
LostLaser committed Mar 11, 2021
1 parent f6a4d15 commit 9e81d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/storage/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
)

const (
iterations = 40
iterations = 100
)

// StorageIntegration holds components for storage integration test
Expand Down Expand Up @@ -90,7 +90,7 @@ func (s *StorageIntegration) waitForCondition(t *testing.T, predicate func(t *te
if predicate(t) {
return true
}
time.Sleep(100 * time.Millisecond) // Will wait up to 4 seconds at worst.
time.Sleep(100 * time.Millisecond) // Will wait up to 10 seconds at worst.
}
return predicate(t)
}
Expand Down

0 comments on commit 9e81d8e

Please sign in to comment.