Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
karenychen committed May 3, 2024
1 parent 0680611 commit 6e35251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func TestHealthChecker_FailConnectionCheck(t *testing.T) {
interval := 20 * time.Millisecond

hc := NewHealthChecker(clients, "", "", interval, &HealthCheckerOptions{
HealthCheckTimeout: 10 * time.Millisecond,
HealthCheckTimeout: 5 * time.Millisecond,
})
a.Equal(10*time.Millisecond, hc.options.HealthCheckTimeout)
a.Equal(5*time.Millisecond, hc.options.HealthCheckTimeout)

for _, tc := range []testCase{
{entity: "testQueue", subscription: ""},
Expand Down

0 comments on commit 6e35251

Please sign in to comment.