Skip to content

Commit

Permalink
Revert "fix start testcontainers fail bug (#1313)"
Browse files Browse the repository at this point in the history
This reverts commit 8be70f0.
  • Loading branch information
georgehao committed May 7, 2024
1 parent 87c9c33 commit db063f9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions common/testcontainers/testcontainers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit db063f9

Please sign in to comment.