Bug 1115780 - increase timeout on audionode destruction tests. r=vp
authorJordan Santell <jsantell@gmail.com>
Sun, 28 Dec 2014 10:26:00 +0100
changeset 221819 56c2e6eea92a14cfffa12e30c4f04b43c1a35a4e
parent 221818 858f0c4f4bdf67be9f58fafca0e51af22f758ab8
child 221820 4278e53a8a472af1c3fa6894a552f2e196660c99
push id28045
push usercbook@mozilla.com
push dateFri, 02 Jan 2015 12:45:08 +0000
treeherdermozilla-central@4278e53a8a47 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvp
bugs1115780
milestone37.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 1115780 - increase timeout on audionode destruction tests. r=vp
browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
--- a/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
+++ b/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
@@ -5,16 +5,20 @@
  * Tests that the destruction node event is fired and that the nodes are no
  * longer stored internally in the tool, that the graph is updated properly, and
  * that selecting a soon-to-be dead node clears the inspector.
  *
  * All done in one test since this test takes a few seconds to clear GC.
  */
 
 add_task(function*() {
+  // Use a longer timeout as garbage collection event
+  // can be unpredictable.
+  requestLongerTimeout(2);
+
   let { target, panel } = yield initWebAudioEditor(DESTROY_NODES_URL);
   let { panelWin } = panel;
   let { gFront, $, $$, gAudioNodes } = panelWin;
 
   let started = once(gFront, "start-context");
 
   reload(target);