Add integration tests that check logout and relogin
This commit is contained in:
parent
593040b73d
commit
b54c0e3d22
3 changed files with 180 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue