diff --git a/tubular/scripts/dd_synthetic_tests.py b/tubular/scripts/dd_synthetic_tests.py index b152f089..d528e355 100644 --- a/tubular/scripts/dd_synthetic_tests.py +++ b/tubular/scripts/dd_synthetic_tests.py @@ -137,7 +137,9 @@ def _record_test_run_ids(self, response_body): for result in response_body['results']: public_id = result['public_id'] test_run_id = result['result_id'] - if public_id != self.WAFFLE_SWITCH_TEST.public_id: + if public_id == self.WAFFLE_SWITCH_TEST.public_id: + self.WAFFLE_SWITCH_TEST.test_run_id = test_run_id + else: self.tests_by_public_id[public_id].test_run_id = test_run_id def _poll_for_test_result(self, test):