[Pkg-mozext-commits] [firebug] 18/24: FBTest: use timeout to fix test-bot failure

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag firebug-1.10.4
in repository firebug.

commit 192a11ae5c5907560fd7259e1adf7f6f9ba6a1cb
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Tue Oct 9 09:24:36 2012 +0200

    FBTest: use timeout to fix test-bot failure
---
 tests/content/script/2279/errorBreakpoints.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/content/script/2279/errorBreakpoints.js b/tests/content/script/2279/errorBreakpoints.js
index cd284f9..39d5e60 100644
--- a/tests/content/script/2279/errorBreakpoints.js
+++ b/tests/content/script/2279/errorBreakpoints.js
@@ -20,6 +20,7 @@ function runTest()
                 // toggle breakpoint
                 FBTest.click(errBP);
 
+                // xxxHonza: the timeout is a hack (but should fix test-bot failure)
                 setTimeout(function()
                 {
                     // test checked
@@ -32,7 +33,7 @@ function runTest()
                         FBTest.ok(!hasClass(objBox, "breakForError"), "Must be unchecked again");
                         FBTest.testDone();
                     });
-                });
+                }, 2000);
             });
 
             FBTest.progress("waiting for an error to appear");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list