From f73b9479262e6cf8057f29ee74a962cb08c7830c Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Tue, 10 Jul 2012 12:48:53 -0400 Subject: [PATCH] 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. --- test/unit/effects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.39.5