diff options
author | John Resig <jeresig@gmail.com> | 2009-01-05 22:05:59 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-01-05 22:05:59 +0000 |
commit | 60226c8a30df9c1d41093de586e5936e42d44865 (patch) | |
tree | 7208344dc9c25d6a58a24b9ee2a30d82a6b9ad64 /test | |
parent | 4503457616372973054a85c1628031792a4882f3 (diff) | |
download | jquery-60226c8a30df9c1d41093de586e5936e42d44865.tar.gz jquery-60226c8a30df9c1d41093de586e5936e42d44865.zip |
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 677838b54..ce099c125 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -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" ); |