summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/image/tomcat_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/test/image/tomcat_test.go')
-rw-r--r--runsc/test/image/tomcat_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/test/image/tomcat_test.go b/runsc/test/image/tomcat_test.go
index 578385ca7..dd47ab6da 100644
--- a/runsc/test/image/tomcat_test.go
+++ b/runsc/test/image/tomcat_test.go
@@ -24,6 +24,9 @@ import (
)
func TestTomcat(t *testing.T) {
+ if out, err := testutil.Pull("tomcat:8.0"); err != nil {
+ t.Fatalf("docker pull failed: %v\nout: %s", err, out)
+ }
d := testutil.MakeDocker("tomcat-test")
if out, err := d.Run("-p", "8080", "tomcat:8.0"); err != nil {
t.Fatalf("docker run failed: %v\nout: %s", err, out)