Skip to content

Loading…

Hardcoded fix to run endurance tests for en-US only (#209) #213

Closed
wants to merge 1 commit into from

2 participants

@whimboo

Hard-coded fix for the moment.

@ashughes1

I was asked via IRC to review this in Dave's absence. This patch looks good to me, feel free to land asap.

@whimboo whimboo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 pulse.py
View
5 pulse.py
@@ -273,6 +273,11 @@ def on_build(self, data, message):
target_platform = self.get_platform_identifier(platform)
for testrun in target_branch['testruns']:
+ # TODO: Pretty bad hack, so make it configurable in the json config (#209)
+ # Do not run endurance tests for localized versions of Firefox
+ if testrun in ['endurance'] and locale != 'en-US':
+ continue
+
# Fire off a build for each supported platform
for node in target_branch['platforms'][target_platform]:
parameters = self.generate_job_parameters(testrun, node,
Something went wrong with that request. Please try again.