Bug 1068809 - stop checking number of files in gaia-try pushes by setting threshold to very high value r=jlund
authorJohn Ford <jhford@mozilla.com>
Sat, 20 Sep 2014 01:50:49 +0200
changeset 3192 3ff10908c0f24ac17b5a502ebbbf4073150882f4
parent 3191 e8b69286b31f675c87de091e1fb049da09c1953c
child 3193 0e4582e4b857ea74ba76fcfe7ba90178df5771e0
child 3194 707df471ab2ca33bcb331bc444f52bbe8a4a5df7
push id2436
push userjford@mozilla.com
push dateFri, 19 Sep 2014 23:51:05 +0000
reviewersjlund
bugs1068809
Bug 1068809 - stop checking number of files in gaia-try pushes by setting threshold to very high value r=jlund
mozharness/mozilla/testing/testbase.py
--- a/mozharness/mozilla/testing/testbase.py
+++ b/mozharness/mozilla/testing/testbase.py
@@ -224,17 +224,17 @@ class TestingMixin(ProxxyMixin, Virtuale
 
                 # Bug 868490 - Only require exactly two files if require_test_zip;
                 # otherwise accept either 1 or 2, since we'll be getting a
                 # test_zip url that we don't need.
                 expected_length = [1, 2, 3]
                 if c.get("require_test_zip") and not self.test_url:
                     expected_length = [2, 3]
                 if buildbot_prop_branch.startswith('gaia-try'):
-                    expected_length = range(1,6)
+                    expected_length = range(1,1000)
                 actual_length = len(files)
                 if actual_length not in expected_length:
                     self.fatal("Unexpected number of files in buildbot config %s.\nExpected these number(s) of files: %s, but got: %d" %
                                (c['buildbot_json_path'], str(expected_length), actual_length))
                 for f in files:
                     if f['name'].endswith('tests.zip'):  # yuk
                         if not self.test_url:
                             # str() because of unicode issues on mac