1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

add comment about poor error handling when headscale isnt becoming available

This commit is contained in:
Kristoffer Dalby 2021-10-04 14:16:37 +01:00
parent 2090a13dcd
commit 772541afab
No known key found for this signature in database
GPG Key ID: 09F62DC067465735

View File

@ -258,7 +258,11 @@ func (s *IntegrationTestSuite) SetupSuite() {
}
return nil
}); err != nil {
log.Fatalf("Could not connect to docker: %s", err)
// TODO(kradalby): If we cannot access headscale, or any other fatal error during
// test setup, we need to abort and tear down. However, testify does not seem to
// support that at the moment:
// https://github.com/stretchr/testify/issues/849
return // fmt.Errorf("Could not connect to headscale: %s", err)
}
fmt.Println("headscale container is ready")