There was a disabled test in the ajax test suite which said there were too many simultainous requests. I re-enabled it when I found a bug that might have been the cause of the failure instead and it seems to work fine. We can disable it again if that ends up not being the case.
This commit is contained in:
parent
66fbbec3bb
commit
701b072e1a
|
@ -218,23 +218,21 @@ test("synchronous request with callbacks", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
test("pass-through request object", function() {
|
test("pass-through request object", function() {
|
||||||
expect(1);
|
expect(6);
|
||||||
stop(true);
|
stop(true);
|
||||||
|
|
||||||
var target = "data/name.html";
|
var target = "data/name.html";
|
||||||
var count = 0;
|
var count = 0;
|
||||||
var success = function() {
|
var success = function() {
|
||||||
// Disabled
|
// Re-enabled because a bug was found in the unit test that probably caused the problem
|
||||||
//if(count++ == 5)
|
if(++count == 5)
|
||||||
start();
|
start();
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Test disabled, too many simultaneous requests
|
|
||||||
ok( $.get(url(target), success), "get" );
|
ok( $.get(url(target), success), "get" );
|
||||||
ok( $.post(url(target), success), "post" );
|
ok( $.post(url(target), success), "post" );
|
||||||
ok( $.getScript(url("data/test.js"), success), "script" );
|
ok( $.getScript(url("data/test.js"), success), "script" );
|
||||||
ok( $.getJSON(url("data/json_obj.js"), success), "json" );
|
ok( $.getJSON(url("data/json_obj.js"), success), "json" );
|
||||||
*/
|
|
||||||
ok( $.ajax({url: url(target), success: success}), "generic" );
|
ok( $.ajax({url: url(target), success: success}), "generic" );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue