This commit is contained in:
Zoltán Papp 2024-10-29 16:42:09 +01:00
parent 1d8bd3f94a
commit fc2e4ea134
2 changed files with 6 additions and 1 deletions

View File

@ -13,10 +13,13 @@ import (
)
const (
connectionTimeout = 30 * time.Second
maxConcurrentServers = 7
)
var (
connectionTimeout = 30 * time.Second
)
type connResult struct {
RelayClient *Client
Url string

View File

@ -8,6 +8,8 @@ import (
)
func TestServerPicker_UnavailableServers(t *testing.T) {
connectionTimeout = 5 * time.Second
sp := ServerPicker{
TokenStore: nil,
PeerID: "test",