1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/db
Kristoffer Dalby 9515040161
make reauth test compat with tailscale head (#2167)
* make reauth test compat with tailscale head

tailscale/tailscale@1eaad7d broke our reauth test as it makes the client
retry with https/443 if it reconnects within 2 minutes.

This commit fixes this by running the test as a two part,
- with https, to confirm instant reconnect works
- with http, and a 3 min wait, to check that it work without.

The change is not a general consern as headscale in prod is ran
with https.

Updates #2164

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* sort test for stable order

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-10-03 12:01:48 +02:00
..
testdata use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
db_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
db.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
ip_test.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
ip.go use tsaddr library and cleanups (#2150) 2024-10-02 09:06:09 +02:00
node_test.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
node.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go make reauth test compat with tailscale head (#2167) 2024-10-03 12:01:48 +02:00
preauth_keys.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
routes_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
routes.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
text_serialiser.go use gorm serialiser instead of custom hooks (#2156) 2024-10-02 11:41:58 +02:00
users_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
users.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00