Add integration tests that check logout and relogin

This commit is contained in:
Juan Font 2022-12-19 18:15:31 +00:00
parent 593040b73d
commit b54c0e3d22
3 changed files with 180 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import (
"tailscale.com/ipn/ipnstate"
)
//nolint
// nolint
type TailscaleClient interface {
Hostname() string
Shutdown() error
@ -19,6 +19,7 @@ type TailscaleClient interface {
FQDN() (string, error)
Status() (*ipnstate.Status, error)
WaitForReady() error
WaitForLogout() error
WaitForPeers(expected int) error
Ping(hostnameOrIP string) error
ID() string