From: Dave Methvin Date: Tue, 10 Jul 2012 16:48:53 +0000 (-0400) Subject: You can't hurry tests, no, you just have to wait. X-Git-Tag: 1.8b2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f73b9479262e6cf8057f29ee74a962cb08c7830c;p=jquery.git You can't hurry tests, no, you just have to wait. The 100ms here is just too fast and flakey, it causes random fails in swarmy runs. --- diff --git a/test/unit/effects.js b/test/unit/effects.js index 35ba27275..fc9c9cc7b 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -1281,7 +1281,7 @@ test( "animate properties missing px w/ opacity as last (#9074)", 2, function() left: 200, marginLeft: 200, opacity: 0 - }, 1000); + }, 2000); setTimeout(function() { var ml = cssInt( "marginLeft" ), l = cssInt( "left" ); @@ -1291,7 +1291,7 @@ test( "animate properties missing px w/ opacity as last (#9074)", 2, function() notEqual( l, 200, "Left is not 200 after partial animate" ); div.stop().remove(); start(); - }, 100); + }, 1000); }); test("callbacks should fire in correct order (#9100)", function() {