Skip to content

Commit

Permalink
Update functional test
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Sun <haos@uber.com>
  • Loading branch information
HaoSunUber committed Sep 8, 2023
1 parent 3de2835 commit ede5508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ mainLoop:
}
for _, broker := range brokers {
err := broker.Open(client.Config())
if err != nil {
if err != nil && err != ErrAlreadyConnected {

Check failure on line 231 in functional_test.go

View workflow job for this annotation

GitHub Actions / Linting with Go 1.21.x

comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
client.Close()
continue retryLoop
}
Expand Down

0 comments on commit ede5508

Please sign in to comment.