databuild/tests/end_to_end/BUILD

51 lines
1.3 KiB
Python

## Test utilities filegroup
#filegroup(
# name = "test_utils",
# srcs = [
# "lib/test_utils.sh",
# "lib/db_utils.sh",
# "lib/service_utils.sh",
# ],
# visibility = ["//visibility:public"],
#)
#
## Delegation test that verifies second builds properly delegate to existing partitions
## Note: This test is designed to be run via the integration test runner (run_e2e_tests.sh)
## rather than through bazel test, due to examples being in .bazelignore
#sh_test(
# name = "delegation_test",
# srcs = ["delegation_test.sh"],
# data = [
# ":test_utils",
# ],
# size = "medium",
# timeout = "moderate",
# env = {
# "PATH": "/usr/bin:/bin:/usr/local/bin",
# },
# tags = ["e2e", "delegation", "manual"],
# args = ["placeholder"],
#)
#
## Simple shell script test that validates the test runner
#sh_test(
# name = "e2e_runner_test",
# srcs = ["validate_runner.sh"],
# data = [
# "//:run_e2e_tests.sh",
# ":test_utils",
# "lib/test_utils.sh",
# "lib/db_utils.sh",
# "lib/service_utils.sh",
# "simple_test.sh",
# "basic_graph_test.sh",
# "podcast_reviews_test.sh",
# "delegation_test.sh",
# ],
# size = "small",
# timeout = "short",
# env = {
# "PATH": "/usr/bin:/bin:/usr/local/bin",
# },
# tags = ["e2e"],
#)