diff options
author | Justine Olshan <justineolshan@google.com> | 2018-07-11 09:36:20 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-11 09:37:28 -0700 |
commit | 81ae5f3df533d5e5990baaa105392f59e28d5730 (patch) | |
tree | 8a90d2fbca329391f2586b028cef7be7e14ae09f /runsc/test/integration/BUILD | |
parent | 9cd69c2f3db7fd4b30d14d86be5fb5a3401054e5 (diff) |
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
Diffstat (limited to 'runsc/test/integration/BUILD')
-rw-r--r-- | runsc/test/integration/BUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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", +) |