Skip to content

Commit

Permalink
handler error
Browse files Browse the repository at this point in the history
  • Loading branch information
luky116 committed Apr 30, 2024
1 parent 2af7ca7 commit 3e3c76b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/testcontainers/testcontainers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ 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
os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true")
err := os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true")
if err != nil {
panic("set env failed: " + err.Error())
}
return &TestcontainerApps{
Timestamp: timestamp,
}
Expand Down

0 comments on commit 3e3c76b

Please sign in to comment.