Skip to content

Commit

Permalink
longer timeout for reconnect without https
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Jan 23, 2025
1 parent 3f96eb4 commit 64022fa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions integration/general_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,9 @@ func TestAuthKeyLogoutAndRelogin(t *testing.T) {

opts := []hsic.Option{hsic.WithTestName("pingallbyip")}
if https {
opts = []hsic.Option{
hsic.WithTestName("pingallbyip"),
hsic.WithEmbeddedDERPServerOnly(),
opts = append(opts, []hsic.Option{
hsic.WithTLS(),
}
}...)
}

err = scenario.CreateHeadscaleEnv(spec, []tsic.Option{}, opts...)
Expand Down Expand Up @@ -170,7 +168,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 {
Expand Down

0 comments on commit 64022fa

Please sign in to comment.