longer timeout for reconnect without https

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2025-01-17 18:10:53 +01:00
parent 1031c2a8d5
commit 688c031f63
No known key found for this signature in database

View file

@ -122,11 +122,10 @@ func TestAuthKeyLogoutAndRelogin(t *testing.T) {
opts := []hsic.Option{hsic.WithTestName("pingallbyip")}
if https {
opts = []hsic.Option{
hsic.WithTestName("pingallbyip"),
opts = append(opts, []hsic.Option{
hsic.WithEmbeddedDERPServerOnly(),
hsic.WithTLS(),
}
}...)
}
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/juanfont/headscale/issues/2164
if !https {
time.Sleep(3 * time.Minute)
time.Sleep(5 * time.Minute)
}
for userName := range spec {