Bug 1087013: Remove test about slave allocations since it's not required any more r=coop
authorChris AtLee <catlee@mozilla.com>
Wed, 22 Oct 2014 14:12:40 -0400 (2014-10-22)
changeset 11262 0734394c4f4905d4365e3d5a5b321adf17bcaedf
parent 11261 227fc1edc1910e42069d736a74afd23e20ffe943
child 11263 19b0c69f4e99ca24fa4b760de9ff1a06cfa60f67
child 11264 5dc7912c63d3985cd31e901a84c4196a416d2d62
push id8254
push usercatlee@mozilla.com
push dateWed, 22 Oct 2014 18:12:49 +0000 (2014-10-22)
reviewerscoop
bugs1087013
Bug 1087013: Remove test about slave allocations since it's not required any more r=coop
mozilla/test/test_slave_allocation.py
--- a/mozilla/test/test_slave_allocation.py
+++ b/mozilla/test/test_slave_allocation.py
@@ -13,22 +13,8 @@ class SlaveCheck(unittest.TestCase):
             try_slaves = [x for k, s in prod.TRY_SLAVES.iteritems() for x in s]
             common_slaves = set(prod_slaves) & set(try_slaves)
             self.assertEqual(
                 common_slaves, set([]),
                 'Try slaves must not be used in production, however the ' + \
                 'following slaves used for both:\n%s' % \
                 '\n'.join(common_slaves)
             )
-
-    def test_stag_not_in_prod(self):
-        prod_slaves = [x for k, s in prod.SLAVES.iteritems() for x in s]
-        stag_slaves = [x for k, s in stag.SLAVES.iteritems() for x in s]
-        if hasattr(prod, 'TRY_SLAVES'):
-            prod_slaves.extend([x for k, s in prod.TRY_SLAVES.iteritems() for x
-                                in s])
-        common_slaves = set(prod_slaves) & set(stag_slaves)
-        self.assertEqual(
-            set([]), common_slaves,
-            'Staging-only slaves should not be declared as production '
-            'and vice versa. However, the following production slaves '
-            'declared as staging-only:\n%s' % '\n'.join(sorted(common_slaves))
-        )