From 8d06ab975225696b73c4b1e89619a4cc64efeaf6 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Thu, 7 Sep 2023 19:20:28 -0700 Subject: [PATCH] Update functional test --- functional_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functional_test.go b/functional_test.go index 3607fd145a..82ee8ee193 100644 --- a/functional_test.go +++ b/functional_test.go @@ -228,7 +228,7 @@ mainLoop: } for _, broker := range brokers { err := broker.Open(client.Config()) - if err != nil { + if err != nil && err != ErrAlreadyConnected { client.Close() continue retryLoop }