Skip to content

Commit

Permalink
Move TS WaitForReady outside up goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Font authored and juanfont committed Nov 19, 2022
1 parent 751cc17 commit f90a3c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions integration/auth_web_flow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ func (s *AuthWebFlowScenario) runTailscaleUp(
if err != nil {
log.Printf("failed to register client: %s", err)
}

err = c.WaitForReady()
if err != nil {
log.Printf("error waiting for client %s to be ready: %s", c.Hostname(), err)
}
}(client)

err := client.WaitForReady()
if err != nil {
log.Printf("error waiting for client %s to be ready: %s", client.Hostname(), err)
}
}
namespace.joinWaitGroup.Wait()

Expand Down

0 comments on commit f90a3c1

Please sign in to comment.