Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
karenychen committed May 6, 2024
1 parent 6e35251 commit 4f6602a
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 @@ -82,7 +82,7 @@ func TestHealthChecker_FailConnectionCheck(t *testing.T) {
hc.StartSenderPeriodicHealthCheck(ctx)
hc.StartReceiverPeriodicHealthCheck(ctx)

time.Sleep(90 * time.Millisecond)
time.Sleep(100 * time.Millisecond)

for i := 0; i < numClients; i++ {
namespaceName := fmt.Sprintf("myservicebus-%d.servicebus.windows.net", i)
Expand Down Expand Up @@ -125,7 +125,7 @@ func TestHealthChecker_SuccessConnectionCheck(t *testing.T) {
}(namespace, client)
}

time.Sleep(90 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
for i := 0; i < numClients; i++ {
namespaceName := fmt.Sprintf("myservicebus-%d.servicebus.windows.net", i)
informer := sender.NewInformer()
Expand Down

0 comments on commit 4f6602a

Please sign in to comment.