Skip to content
Snippets Groups Projects
Commit 8bcbee81 authored by Sree Kuchibhotla's avatar Sree Kuchibhotla
Browse files

Fix a bug in failure check

parent 2715a39a
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,7 @@ def _launch_client(gcp_project_id, docker_image_name, bq_settings, ...@@ -244,7 +244,7 @@ def _launch_client(gcp_project_id, docker_image_name, bq_settings,
client_arg_list = [] client_arg_list = []
# TODO(sree) Make this configurable (and also less frequent) # TODO(sree) Make this configurable (and also less frequent)
poll_interval_secs = 5 poll_interval_secs = 30
metrics_port = 8081 metrics_port = 8081
metrics_server_address = 'localhost:%d' % metrics_port metrics_server_address = 'localhost:%d' % metrics_port
...@@ -397,7 +397,7 @@ def run_test(skip_building_image, gcp_project_id, image_name, tag_name, ...@@ -397,7 +397,7 @@ def run_test(skip_building_image, gcp_project_id, image_name, tag_name,
break break
# Check if either stress server or clients have failed # Check if either stress server or clients have failed
if not bq_helper.check_if_any_tests_failed(): if bq_helper.check_if_any_tests_failed():
is_success = False is_success = False
print 'Some tests failed.' print 'Some tests failed.'
break break
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment