Commit 60226c8a authored by John Resig's avatar John Resig

The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.

parent 45034576
......@@ -821,7 +821,7 @@ test("ajaxSetup()", function() {
test("custom timeout does not set error message when timeout occurs, see #970", function() {
stop();
jQuery.ajax({
url: "data/name.php?wait=10",
url: "data/name.php?wait=1",
timeout: 500,
error: function(request, status) {
ok( status != null, "status shouldn't be null in error handler" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment