Skip to content

Commit

Permalink
Tests: Increase max expected time for 'timing' test module
Browse files Browse the repository at this point in the history
Android is too slow to meet the previously expected maximum time asserted

Should resolve the failure in http://swarm.jquery.org/result/2048943
  • Loading branch information
JamesMGreene committed Sep 4, 2014
1 parent 99cf837 commit d04101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ QUnit.test( "running test name displayed", function( assert ) {
assert.expect( 2 );
var basics = getPreviousTests( /^setup$/, /^timing$/ )[ 0 ],
slow = getPreviousTests( /^basics$/, /^timing$/ )[ 0 ];
assert.ok( parseInt( basics.lastChild.previousSibling.innerHTML, 10 ) < 50,
assert.ok( parseInt( basics.lastChild.previousSibling.innerHTML, 10 ) < 100,
"Fast runtime for trivial test"
);
assert.ok( parseInt( slow.lastChild.previousSibling.innerHTML, 10 ) > 250,
Expand Down

0 comments on commit d04101c

Please sign in to comment.