Skip to content

Commit

Permalink
fix relogin test, pass accept route flag
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
  • Loading branch information
kradalby committed Sep 5, 2023
1 parent 1766e6b commit 12a04f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration/tsic/tsic.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ func (t *TailscaleInContainer) Execute(
options...,
)
if err != nil {
// log.Printf("command issued: %s", strings.Join(command, " "))
// log.Printf("command stderr: %s\n", stderr)

if stdout != "" {
Expand Down Expand Up @@ -343,6 +344,7 @@ func (t *TailscaleInContainer) Login(
"--login-server=" + loginServer,
"--authkey=" + authKey,
"--hostname=" + t.hostname,
"--accept-routes",
}

if t.withSSH {
Expand Down Expand Up @@ -381,6 +383,7 @@ func (t *TailscaleInContainer) LoginWithURL(
"up",
"--login-server=" + loginServer,
"--hostname=" + t.hostname,
"--accept-routes",
}

_, stderr, err := t.Execute(command)
Expand Down

0 comments on commit 12a04f9

Please sign in to comment.