Bug 1214362 - Avoid Android non-local connection throw in mochitest-push
authorGeoff Brown <gbrown@mozilla.com>
Thu, 10 Dec 2015 13:46:22 -0500
changeset 326871 ba09f01297804805ac8709e208f5475622fd977d
parent 326870 18a0014d720691eb17a609352d29426ab2821f4f
child 326872 73f7c434afe789d34b99da964bb0625245ed1d2d
push id10169
push userdminor@mozilla.com
push dateThu, 28 Jan 2016 13:10:48 +0000
bugs1214362
milestone45.0a1
Bug 1214362 - Avoid Android non-local connection throw in mochitest-push
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2245,17 +2245,17 @@ class MochitestDesktop(MochitestBase):
         # If there are any Mulet-specific tests doing remote network access,
         # we will not be aware since we are explicitely allowing this, as for
         # B2G
         #
         # In addition, the push subsuite directly accesses the production
         # push service.
         if 'MOZ_DISABLE_NONLOCAL_CONNECTIONS' in self.browserEnv:
             if mozinfo.info.get('buildapp') == 'mulet' or options.subsuite == 'push':
-                del self.browserEnv['MOZ_DISABLE_NONLOCAL_CONNECTIONS']
+                self.browserEnv['MOZ_DISABLE_NONLOCAL_CONNECTIONS'] = "0"
                 os.environ["MOZ_DISABLE_NONLOCAL_CONNECTIONS"] = "0"
 
         if self.browserEnv is None:
             return 1
 
         try:
             self.startServers(options, debuggerInfo)