Skip to content

Commit

Permalink
debug gh: docker ps
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Dec 9, 2024
1 parent 837f9d7 commit 9771d3a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions integration/scenario.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"log"
"net/netip"
"os"
"os/exec"
"sort"
"sync"
"testing"
Expand Down Expand Up @@ -397,10 +398,24 @@ func (s *Scenario) CreateTailscaleNodesInUser(
return nil
})
}
cmd := exec.Command("docker", "ps")
b, err := cmd.Output()
if err != nil {
return fmt.Errorf("failed to list docker containers: %w", err)
}
log.Printf("docker ps: %s", b)

if err := user.createWaitGroup.Wait(); err != nil {
return err
}

cmd = exec.Command("docker", "ps")
b, err = cmd.Output()
if err != nil {
return fmt.Errorf("failed to list docker containers: %w", err)
}
log.Printf("docker ps: %s", b)

log.Printf("testing versions %v, MustTestVersions %v", lo.Uniq(versions), MustTestVersions)

return nil
Expand Down

0 comments on commit 9771d3a

Please sign in to comment.