]> source.dussan.org Git - jquery.git/commitdiff
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
authorJohn Resig <jeresig@gmail.com>
Mon, 5 Jan 2009 22:05:59 +0000 (22:05 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 5 Jan 2009 22:05:59 +0000 (22:05 +0000)
test/unit/ajax.js

index 677838b54bc17a719652d2c0882aced8680e4906..ce099c12516272f39c617a7c1c6b33c281022303 100644 (file)
@@ -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" );