diff options
Diffstat (limited to 'internal/container/container_test.go')
-rw-r--r-- | internal/container/container_test.go | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/internal/container/container_test.go b/internal/container/container_test.go deleted file mode 100644 index 210409d4..00000000 --- a/internal/container/container_test.go +++ /dev/null @@ -1,26 +0,0 @@ -package container_test - -import ( - "testing" - "time" - - "github.com/roadrunner-server/roadrunner/v2/internal/container" - - endure "github.com/roadrunner-server/endure/pkg/container" - "github.com/stretchr/testify/assert" -) - -func TestNewContainer(t *testing.T) { // there is no legal way to test container options - c, err := container.NewContainer(container.Config{}) - c2, err2 := container.NewContainer(container.Config{ - GracePeriod: time.Second, - PrintGraph: true, - LogLevel: endure.WarnLevel, - }) - - assert.NoError(t, err) - assert.NotNil(t, c) - - assert.NoError(t, err2) - assert.NotNil(t, c2) -} |