Skip to content

Commit

Permalink
Bump delay, test is still flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
Claes Mogren authored and mogren committed May 8, 2020
1 parent 9d4d186 commit 8dc8535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/publisher/publisher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ func TestCloudWatchPublisherWithGreaterThanMaxDatapointsAndStop(t *testing.T) {
go cloudwatchPublisher.monitor(testMonitorDuration)

// Delays added to prevent test flakiness
<-time.After(2 * testMonitorDuration)
<-time.After(5 * testMonitorDuration)
cloudwatchPublisher.Stop()
<-time.After(2 * testMonitorDuration)
<-time.After(5 * testMonitorDuration)

assert.Empty(t, cloudwatchPublisher.localMetricData)
}
Expand Down

0 comments on commit 8dc8535

Please sign in to comment.