headscale/hscontrol/db
Kristoffer Dalby f368ed01ed
2068 AutoApprovers tests (#2105)
* replace old suite approved routes test with table driven

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

* add test to reproduce issue

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

* add integration test for 2068

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-09-05 16:46:20 +02:00
..
testdata fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +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 fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
db.go Fix FKs on sqlite migrations (#2083) 2024-08-30 08:08:54 +02:00
ip_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
ip.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
node_test.go 2068 AutoApprovers tests (#2105) 2024-09-05 16:46:20 +02:00
node.go fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
preauth_keys.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
routes_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
routes.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
suite_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users.go more log.Error -> fmt.Errorf cleanup 2024-04-15 12:31:53 +02:00