Fix for #2628 #2629 issues

Signed-off-by: Waldemar Quevedo <wally@synadia.com>
This commit is contained in:
Waldemar Quevedo
2021-10-14 14:42:48 -07:00
parent 3fbf9ddcbc
commit 040258dc41
3 changed files with 369 additions and 9 deletions

View File

@@ -675,7 +675,7 @@ func waitForOutboundGateways(t *testing.T, s *server.Server, expected int, timeo
}
checkFor(t, timeout, 15*time.Millisecond, func() error {
if n := s.NumOutboundGateways(); n != expected {
return fmt.Errorf("Expected %v outbound gateway(s), got %v (ulimt -n too low?)",
return fmt.Errorf("Expected %v outbound gateway(s), got %v (ulimit -n too low?)",
expected, n)
}
return nil