Compare commits

...

1 Commits

Author SHA1 Message Date
georgehao
db063f94c6 Revert "fix start testcontainers fail bug (#1313)"
This reverts commit 8be70f0c80.
2024-05-07 15:12:32 +08:00

View File

@@ -31,11 +31,6 @@ type TestcontainerApps struct {
// NewTestcontainerApps returns new instance of TestcontainerApps struct
func NewTestcontainerApps() *TestcontainerApps {
timestamp := time.Now().Nanosecond()
// In order to solve the problem of "creating reaper failed: failed to create container"
// refer to https://github.com/testcontainers/testcontainers-go/issues/2172
if err := os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true"); err != nil {
panic("set env failed: " + err.Error())
}
return &TestcontainerApps{
Timestamp: timestamp,
}