mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Since the server is connected to 2 servers and the pool size is 5
the limit of 10 was too small. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
@@ -2108,7 +2108,7 @@ func TestRoutePoolConnectRace(t *testing.T) {
|
||||
select {
|
||||
case e := <-l.dbgCh:
|
||||
if strings.Contains(e, "duplicate") {
|
||||
if duplicate++; duplicate > 10 {
|
||||
if duplicate++; duplicate > 20 {
|
||||
t.Fatalf("Routes are constantly reconnecting: %v", e)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user