summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/testutil/testutil.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-11-13 11:13:22 -0800
committerShentubot <shentubot@google.com>2018-11-13 11:14:28 -0800
commit6c2d320138300dbea519028d16e12d66baa23c9d (patch)
tree980eaf62be146874096ade0a416e1dec37051a92 /runsc/test/testutil/testutil.go
parent25d07fbbed0de1e7173f0becb577f5481f98bed8 (diff)
Internal change.
PiperOrigin-RevId: 221299066 Change-Id: I8ae352458f9976c329c6946b1efa843a3de0eaa4
Diffstat (limited to 'runsc/test/testutil/testutil.go')
-rw-r--r--runsc/test/testutil/testutil.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/test/testutil/testutil.go b/runsc/test/testutil/testutil.go
index 3490bd11e..d323d7899 100644
--- a/runsc/test/testutil/testutil.go
+++ b/runsc/test/testutil/testutil.go
@@ -151,6 +151,7 @@ func NewSpecWithArgs(args ...string) *specs.Spec {
Source: TmpDir(),
},
},
+ Hostname: "runsc-test-" + strings.Join(args, "_"),
}
}