summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-07-23 13:30:29 -0700
committerShentubot <shentubot@google.com>2018-07-23 13:31:42 -0700
commitd7a34790a0cc3cfdef9d9e54f17c4bc0a6819900 (patch)
treebfbbfd9e0ad6ad74a15f0c705ad989904eb57a69 /runsc/sandbox
parentf543ada15005e6e2d31a63148a74fbdc43d070de (diff)
Add KVM and overlay dimensions to container_test
PiperOrigin-RevId: 205714667 Change-Id: I317a2ca98ac3bdad97c4790fcc61b004757d99ef
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/sandbox_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/runsc/sandbox/sandbox_test.go b/runsc/sandbox/sandbox_test.go
index fee2de283..40337bc53 100644
--- a/runsc/sandbox/sandbox_test.go
+++ b/runsc/sandbox/sandbox_test.go
@@ -31,7 +31,8 @@ func init() {
func TestGoferExits(t *testing.T) {
spec := testutil.NewSpecWithArgs("/bin/sleep", "10000")
- rootDir, bundleDir, conf, err := testutil.SetupContainer(spec)
+ conf := testutil.TestConfig()
+ rootDir, bundleDir, err := testutil.SetupContainer(spec, conf)
if err != nil {
t.Fatalf("error setting up container: %v", err)
}