Skip to content

Commit

Permalink
Reduce the number of test health checks (ava-labs#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Jun 2, 2023
1 parent c32f0d6 commit 842a6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/health/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func TestDeadlockRegression(t *testing.T) {
h.Start(context.Background(), time.Nanosecond)
defer h.Stop()

for i := 0; i < 1000; i++ {
for i := 0; i < 100; i++ {
lock.Lock()
require.NoError(h.RegisterHealthCheck(fmt.Sprintf("check-%d", i), check))
lock.Unlock()
Expand Down

0 comments on commit 842a6ab

Please sign in to comment.