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
|
# Python Deps
|
||||||
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
|
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
|
||||||
|
|
||||||
filegroup(
|
## Export the E2E test runner script
|
||||||
name = "jq",
|
#exports_files(["run_e2e_tests.sh"])
|
||||||
srcs = ["//databuild/runtime:jq"],
|
#
|
||||||
visibility = ["//visibility:public"],
|
## End-to-End Test Runner
|
||||||
)
|
#sh_binary(
|
||||||
|
# name = "run_e2e_tests",
|
||||||
# Export the E2E test runner script
|
# srcs = ["run_e2e_tests.sh"],
|
||||||
exports_files(["run_e2e_tests.sh"])
|
# data = [
|
||||||
|
# "//tests/end_to_end:test_utils",
|
||||||
# End-to-End Test Runner
|
# ],
|
||||||
sh_binary(
|
# visibility = ["//visibility:public"],
|
||||||
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
|
# `bazel run //:requirements.update` will regenerate the requirements_txt file
|
||||||
compile_pip_requirements(
|
compile_pip_requirements(
|
||||||
|
|
|
||||||
|
|
@ -1,51 +1,51 @@
|
||||||
# Test utilities filegroup
|
## Test utilities filegroup
|
||||||
filegroup(
|
#filegroup(
|
||||||
name = "test_utils",
|
# name = "test_utils",
|
||||||
srcs = [
|
# srcs = [
|
||||||
"lib/test_utils.sh",
|
# "lib/test_utils.sh",
|
||||||
"lib/db_utils.sh",
|
# "lib/db_utils.sh",
|
||||||
"lib/service_utils.sh",
|
# "lib/service_utils.sh",
|
||||||
],
|
# ],
|
||||||
visibility = ["//visibility:public"],
|
# visibility = ["//visibility:public"],
|
||||||
)
|
#)
|
||||||
|
#
|
||||||
# Delegation test that verifies second builds properly delegate to existing partitions
|
## 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)
|
## 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
|
## rather than through bazel test, due to examples being in .bazelignore
|
||||||
sh_test(
|
#sh_test(
|
||||||
name = "delegation_test",
|
# name = "delegation_test",
|
||||||
srcs = ["delegation_test.sh"],
|
# srcs = ["delegation_test.sh"],
|
||||||
data = [
|
# data = [
|
||||||
":test_utils",
|
# ":test_utils",
|
||||||
],
|
# ],
|
||||||
size = "medium",
|
# size = "medium",
|
||||||
timeout = "moderate",
|
# timeout = "moderate",
|
||||||
env = {
|
# env = {
|
||||||
"PATH": "/usr/bin:/bin:/usr/local/bin",
|
# "PATH": "/usr/bin:/bin:/usr/local/bin",
|
||||||
},
|
# },
|
||||||
tags = ["e2e", "delegation", "manual"],
|
# tags = ["e2e", "delegation", "manual"],
|
||||||
args = ["placeholder"],
|
# args = ["placeholder"],
|
||||||
)
|
#)
|
||||||
|
#
|
||||||
# Simple shell script test that validates the test runner
|
## Simple shell script test that validates the test runner
|
||||||
sh_test(
|
#sh_test(
|
||||||
name = "e2e_runner_test",
|
# name = "e2e_runner_test",
|
||||||
srcs = ["validate_runner.sh"],
|
# srcs = ["validate_runner.sh"],
|
||||||
data = [
|
# data = [
|
||||||
"//:run_e2e_tests.sh",
|
# "//:run_e2e_tests.sh",
|
||||||
":test_utils",
|
# ":test_utils",
|
||||||
"lib/test_utils.sh",
|
# "lib/test_utils.sh",
|
||||||
"lib/db_utils.sh",
|
# "lib/db_utils.sh",
|
||||||
"lib/service_utils.sh",
|
# "lib/service_utils.sh",
|
||||||
"simple_test.sh",
|
# "simple_test.sh",
|
||||||
"basic_graph_test.sh",
|
# "basic_graph_test.sh",
|
||||||
"podcast_reviews_test.sh",
|
# "podcast_reviews_test.sh",
|
||||||
"delegation_test.sh",
|
# "delegation_test.sh",
|
||||||
],
|
# ],
|
||||||
size = "small",
|
# size = "small",
|
||||||
timeout = "short",
|
# timeout = "short",
|
||||||
env = {
|
# env = {
|
||||||
"PATH": "/usr/bin:/bin:/usr/local/bin",
|
# "PATH": "/usr/bin:/bin:/usr/local/bin",
|
||||||
},
|
# },
|
||||||
tags = ["e2e"],
|
# tags = ["e2e"],
|
||||||
)
|
#)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue