Bug 964669 - Increase timeout for browser_social_multiworker because shutting down child processes is slow. r=mixedpuppy, a=test-only
authorAndrew McCreight <continuation@gmail.com>
Mon, 27 Jul 2015 12:49:48 -0700
changeset 275491 33514b814334c4249e22768e73a928a056cb402f
parent 275490 c754443c84deff1737f71198cb0b1775a8cd3fcc
child 275492 cd04493e243da9fd6a95d7cab30fd3e052be04ef
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy, test-only
bugs964669
milestone40.0
Bug 964669 - Increase timeout for browser_social_multiworker because shutting down child processes is slow. r=mixedpuppy, a=test-only
browser/base/content/test/social/browser_social_multiworker.js
--- a/browser/base/content/test/social/browser_social_multiworker.js
+++ b/browser/base/content/test/social/browser_social_multiworker.js
@@ -48,17 +48,18 @@ var tests = {
       port.postMessage({topic: "test-init"});
     }
 
     for (let p of Social.providers) {
       oneWorkerTest(p);
     }
 
     waitForCondition(function() messageReceived == Social.providers.length,
-                     next, "received messages from all workers");
+                     next, "received messages from all workers",
+                     /* increase timeout because shutting down a child process is slow */ 60);
   },
 
    testMultipleWorkerEnabling: function(next) {
      // test that all workers are enabled when we allow multiple workers
      for (let p of Social.providers) {
        ok(p.enabled, "provider enabled");
        let port = p.getWorkerPort();
        ok(port, "worker enabled");