Skip to content

Commit

Permalink
service/healthcheck: integration-tests, fix randomly failing context …
Browse files Browse the repository at this point in the history
…timeout test
  • Loading branch information
karol-kokoszka committed Jul 19, 2022
1 parent a95f33a commit 2a6e694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/healthcheck/service_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func testStatusIntegration(t *testing.T, clusterID uuid.UUID, secretsStore store
})

t.Run("context timeout exceeded", func(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Millisecond)
ctx, cancel := context.WithTimeout(context.Background(), time.Microsecond)
defer cancel()

_, err := s.Status(ctx, clusterID)
Expand Down

0 comments on commit 2a6e694

Please sign in to comment.