Skip to content

Commit

Permalink
Increase test timeout for TestKafkaStorage (#2873)
Browse files Browse the repository at this point in the history
* Increasing test timeout to allow for trace storage settle

Signed-off-by: Jacob Goldsworthy <[email protected]>

* Updating max storage test wait time to 10 seconds

Signed-off-by: Jacob Goldsworthy <[email protected]>
Signed-off-by: David Grizzanti <[email protected]>
  • Loading branch information
LostLaser authored and dgrizzanti committed Mar 12, 2021
1 parent c0926b4 commit 5105237
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 = 30
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 3 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 5105237

Please sign in to comment.