Bug 1330867 - Clean urlOpts after each round of mochitest r=ahal
authorpyang <pyang@mozilla.com>
Fri, 13 Jan 2017 11:58:25 +0800
changeset 374285 2d73b1f31cd363c41c8a0dc07db3002dce6df877
parent 374284 3dc9cbce2c85d8819e979cdb93219582b2f3037f
child 374286 ef323d404a2fcb78cfc1ade71f98b5ef93f97aea
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1330867
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1330867 - Clean urlOpts after each round of mochitest r=ahal MozReview-Commit-ID: KThra7apcvp
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2068,16 +2068,17 @@ toolbar#nav-bar {
 
             if crash_count or zombieProcesses:
                 status = 1
 
         finally:
             # cleanup
             if os.path.exists(processLog):
                 os.remove(processLog)
+            self.urlOpts = []
 
         return status
 
     def initializeLooping(self, options):
         """
           This method is used to clear the contents before each run of for loop.
           This method is used for --run-by-dir and --bisect-chunk.
         """