Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ licenses(["notice"]) # Apache 2

envoy_contrib_package()

# This test sets up multiple services, and this can take variable amount of time (30-60 seconds).
envoy_py_test(
name = "kafka_broker_integration_test",
srcs = [
"kafka_broker_integration_test.py",
"@kafka_python_client//:all",
],
data = [
"//source/exe:envoy-static",
"//contrib/exe:envoy-static",
"//bazel:remote_jdk11",
"@kafka_server_binary//:all",
] + glob(["*.j2"]),
flaky = True,
python_version = "PY3",
srcs_version = "PY3",
tags = ["manual"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that Kafka has moved to contrib, why not give this a try, so far it appears to be stable.
In the worst case we'd go back to manual mode (and we're still keeping flaky just in case of slow machines, but the default of moderate = 5 minutes should be a good first idea).

deps = [
requirement("Jinja2"),
requirement("MarkupSafe"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,15 @@ def find_java():
@staticmethod
def find_envoy():
"""
This method locates envoy binary.
It's present at ./source/exe/envoy-static (at least for mac/bazel-asan/bazel-tsan),
or at ./external/envoy/source/exe/envoy-static (for bazel-compile_time_options).
"""
This method locates envoy binary.
It's present at ./source/exe/envoy-static (at least for mac/bazel-asan/bazel-tsan),
or at ./external/envoy/source/exe/envoy-static (for bazel-compile_time_options).
"""

candidate = os.path.join('.', 'source', 'exe', 'envoy-static')
candidate = os.path.join('.', 'contrib', 'exe', 'envoy-static')
if os.path.isfile(candidate):
return candidate
candidate = os.path.join('.', 'external', 'envoy', 'source', 'exe', 'envoy-static')
candidate = os.path.join('.', 'external', 'envoy', 'contrib', 'exe', 'envoy-static')
if os.path.isfile(candidate):
return candidate
raise Exception("Could not find Envoy")
Expand Down