disable e2e tests
This commit is contained in:
parent
f71be8482f
commit
895e499cc5
2 changed files with 63 additions and 69 deletions
30
BUILD.bazel
30
BUILD.bazel
|
|
@ -1,24 +1,18 @@
|
|||
# Python Deps
|
||||
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
|
||||
|
||||
filegroup(
|
||||
name = "jq",
|
||||
srcs = ["//databuild/runtime:jq"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
# Export the E2E test runner script
|
||||
exports_files(["run_e2e_tests.sh"])
|
||||
|
||||
# End-to-End Test Runner
|
||||
sh_binary(
|
||||
name = "run_e2e_tests",
|
||||
srcs = ["run_e2e_tests.sh"],
|
||||
data = [
|
||||
"//tests/end_to_end:test_utils",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
## Export the E2E test runner script
|
||||
#exports_files(["run_e2e_tests.sh"])
|
||||
#
|
||||
## End-to-End Test Runner
|
||||
#sh_binary(
|
||||
# name = "run_e2e_tests",
|
||||
# srcs = ["run_e2e_tests.sh"],
|
||||
# data = [
|
||||
# "//tests/end_to_end:test_utils",
|
||||
# ],
|
||||
# visibility = ["//visibility:public"],
|
||||
#)
|
||||
|
||||
# `bazel run //:requirements.update` will regenerate the requirements_txt file
|
||||
compile_pip_requirements(
|
||||
|
|
|
|||
|
|
@ -1,51 +1,51 @@
|
|||
# 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"],
|
||||
)
|
||||
## 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"],
|
||||
#)
|
||||
|
|
|
|||
Loading…
Reference in a new issue