Skip to content
Permalink
Browse files

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.
  • Loading branch information
dmethvin committed Jul 10, 2012
1 parent 1f483f3 commit f73b9479262e6cf8057f29ee74a962cb08c7830c
Showing with 2 additions and 2 deletions.
  1. +2 −2 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() {

0 comments on commit f73b947

Please sign in to comment.
You can’t perform that action at this time.