Exaggerate the times for the localtimeout ajax test.
authorJohn Resig <jeresig@gmail.com>
Tue, 21 Jul 2009 20:24:12 +0000 (20:24 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 21 Jul 2009 20:24:12 +0000 (20:24 +0000)
test/unit/ajax.js

index 942f9be..2a6bc32 100644 (file)
@@ -787,7 +787,7 @@ test("jQuery.ajaxSetup({timeout: Number}) with localtimeout", function() {
 
        jQuery.ajax({
          type: "GET",
-         timeout: 5000,
+         timeout: 15000,
          url: url("data/name.php?wait=1"),
          error: function() {
                   ok( false, 'Check for local timeout failed' );