mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-19 02:10:04 +09:00
longer timeout for reconnect without https
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
1031c2a8d5
commit
688c031f63
1 changed files with 3 additions and 4 deletions
|
@ -122,11 +122,10 @@ func TestAuthKeyLogoutAndRelogin(t *testing.T) {
|
||||||
|
|
||||||
opts := []hsic.Option{hsic.WithTestName("pingallbyip")}
|
opts := []hsic.Option{hsic.WithTestName("pingallbyip")}
|
||||||
if https {
|
if https {
|
||||||
opts = []hsic.Option{
|
opts = append(opts, []hsic.Option{
|
||||||
hsic.WithTestName("pingallbyip"),
|
|
||||||
hsic.WithEmbeddedDERPServerOnly(),
|
hsic.WithEmbeddedDERPServerOnly(),
|
||||||
hsic.WithTLS(),
|
hsic.WithTLS(),
|
||||||
}
|
}...)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = scenario.CreateHeadscaleEnv(spec, []tsic.Option{}, opts...)
|
err = scenario.CreateHeadscaleEnv(spec, []tsic.Option{}, opts...)
|
||||||
|
@ -170,7 +169,7 @@ func TestAuthKeyLogoutAndRelogin(t *testing.T) {
|
||||||
// https://github.com/tailscale/tailscale/commit/1eaad7d3deb0815e8932e913ca1a862afa34db38
|
// https://github.com/tailscale/tailscale/commit/1eaad7d3deb0815e8932e913ca1a862afa34db38
|
||||||
// https://github.com/juanfont/headscale/issues/2164
|
// https://github.com/juanfont/headscale/issues/2164
|
||||||
if !https {
|
if !https {
|
||||||
time.Sleep(3 * time.Minute)
|
time.Sleep(5 * time.Minute)
|
||||||
}
|
}
|
||||||
|
|
||||||
for userName := range spec {
|
for userName := range spec {
|
||||||
|
|
Loading…
Reference in a new issue