summaryrefslogtreecommitdiffhomepage
path: root/runsc/test
diff options
context:
space:
mode:
authorLantao Liu <lantaol@google.com>2018-06-25 12:07:50 -0700
committerShentubot <shentubot@google.com>2018-06-25 12:08:44 -0700
commite8ae2b85e90fc27e74de032698224e7972673cec (patch)
treee67bf03a17dc48b473a9ae9639d4aa35aefda3ab /runsc/test
parentcecc1e472cc893738a070be00d303dd888b9f325 (diff)
runsc: add a `multi-container` flag to enable multi-container support.
PiperOrigin-RevId: 201995800 Change-Id: I770190d135e14ec7da4b3155009fe10121b2a502
Diffstat (limited to 'runsc/test')
-rw-r--r--runsc/test/testutil/testutil.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/runsc/test/testutil/testutil.go b/runsc/test/testutil/testutil.go
index 25535ea37..9d70d29f2 100644
--- a/runsc/test/testutil/testutil.go
+++ b/runsc/test/testutil/testutil.go
@@ -118,12 +118,13 @@ func SetupContainerInRoot(rootDir string, spec *specs.Spec) (bundleDir string, c
}
conf = &boot.Config{
- Debug: true,
- LogFormat: "text",
- LogPackets: true,
- Network: boot.NetworkNone,
- RootDir: rootDir,
- Strace: true,
+ Debug: true,
+ LogFormat: "text",
+ LogPackets: true,
+ Network: boot.NetworkNone,
+ RootDir: rootDir,
+ Strace: true,
+ MultiContainer: true,
}
return bundleDir, conf, nil