Print docker network config

This commit is contained in:
Juan Font Alonso 2022-09-15 00:06:17 +02:00
parent 3abca99b0c
commit c21479cb9c

View file

@ -106,6 +106,8 @@ func (s *IntegrationOIDCTestSuite) SetupSuite() {
} }
s.network = networks[0] s.network = networks[0]
log.Printf("Network config: %v", s.network.Network.IPAM.Config[0])
s.Suite.T().Log("Setting up mock OIDC") s.Suite.T().Log("Setting up mock OIDC")
oidc, _ := mockoidc.NewServer(nil) oidc, _ := mockoidc.NewServer(nil)
ln, _ := net.Listen("tcp", fmt.Sprintf("%s:0", s.network.Network.IPAM.Config[0].Gateway)) ln, _ := net.Listen("tcp", fmt.Sprintf("%s:0", s.network.Network.IPAM.Config[0].Gateway))