mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-12 03:27:35 +00:00
Add node expiry test
This commits adds a test to verify that nodes get updated if a node in their network expires. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:

committed by
Kristoffer Dalby

parent
3c20d2a178
commit
c39085911f
@@ -4,6 +4,7 @@ import (
|
||||
"net/netip"
|
||||
"net/url"
|
||||
|
||||
"github.com/juanfont/headscale/integration/tsic"
|
||||
"tailscale.com/ipn/ipnstate"
|
||||
)
|
||||
|
||||
@@ -22,6 +23,6 @@ type TailscaleClient interface {
|
||||
WaitForReady() error
|
||||
WaitForLogout() error
|
||||
WaitForPeers(expected int) error
|
||||
Ping(hostnameOrIP string) error
|
||||
Ping(hostnameOrIP string, opts ...tsic.PingOption) error
|
||||
ID() string
|
||||
}
|
||||
|
Reference in New Issue
Block a user