diff --git a/BUILD.bazel b/BUILD.bazel index 82615cd..fd95c5c 100644 --- a/BUILD.bazel +++ b/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( diff --git a/tests/end_to_end/BUILD b/tests/end_to_end/BUILD index 45d13ed..e755750 100644 --- a/tests/end_to_end/BUILD +++ b/tests/end_to_end/BUILD @@ -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"], -) \ No newline at end of file +## 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"], +#)