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:
parent
3c20d2a178
commit
c39085911f
6 changed files with 282 additions and 24 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue