Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix(distributor): Added longer sleep for Nats down test in forwarder (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RealAnna committed Mar 18, 2022
1 parent 0bb45a9 commit 3fff36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributor/pkg/forwarder/forwarder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func Test_NATSDown(t *testing.T) {
svr.WaitForShutdown()

// wait until we exceed max reconnect time
time.Sleep(100 * time.Millisecond)
time.Sleep(5 * time.Second)

// restart embedded NATS cluster
svr, shutdownNats = runNATSServerOnPort(natsTestPort)
Expand Down

0 comments on commit 3fff36d

Please sign in to comment.