From 81ae5f3df533d5e5990baaa105392f59e28d5730 Mon Sep 17 00:00:00 2001 From: Justine Olshan Date: Wed, 11 Jul 2018 09:36:20 -0700 Subject: Created runsc and docker integration tests. Moved some of the docker image functions to testutil.go. Test runsc commands create, start, stop, pause, and resume. PiperOrigin-RevId: 204138452 Change-Id: Id00bc58d2ad230db5e9e905eed942187e68e7c7b --- runsc/test/integration/BUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 runsc/test/integration/BUILD (limited to 'runsc/test/integration/BUILD') diff --git a/runsc/test/integration/BUILD b/runsc/test/integration/BUILD new file mode 100644 index 000000000..b366fe936 --- /dev/null +++ b/runsc/test/integration/BUILD @@ -0,0 +1,26 @@ +package(licenses = ["notice"]) # Apache 2.0 + +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_test( + name = "integration_test", + size = "large", + srcs = [ + "integration_test.go", + ], + embed = [":integration"], + tags = [ + # Requires docker and runsc to be configured before the test runs. + "manual", + "local", + ], + deps = [ + "//runsc/test/testutil", + ], +) + +go_library( + name = "integration", + srcs = ["integration.go"], + importpath = "gvisor.googlesource.com/gvisor/runsc/test/integration", +) -- cgit v1.2.3