From db063f94c656e58ef728977e050c96eee28fac03 Mon Sep 17 00:00:00 2001 From: georgehao Date: Tue, 7 May 2024 15:12:32 +0800 Subject: [PATCH] Revert "fix start testcontainers fail bug (#1313)" This reverts commit 8be70f0c804a87ac93d22c3c79326d68b645044c. --- common/testcontainers/testcontainers.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/testcontainers/testcontainers.go b/common/testcontainers/testcontainers.go index 327354d1f3..83da6af599 100644 --- a/common/testcontainers/testcontainers.go +++ b/common/testcontainers/testcontainers.go @@ -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, }