From 688c031f63bbfb4f7434ec19c50c95579dd45477 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 17 Jan 2025 18:10:53 +0100 Subject: [PATCH] longer timeout for reconnect without https Signed-off-by: Kristoffer Dalby --- integration/general_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/integration/general_test.go b/integration/general_test.go index 085fc786..1514f760 100644 --- a/integration/general_test.go +++ b/integration/general_test.go @@ -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 {