// For some reason htmlunit 2.16 does not raises a timeout, 2.9 does though,
// when server sleeps or connection lasts a while. Tested with htmlunit 2.16
// @DoNotRunWith(Platform.HtmlUnitBug)
public void testAjaxTimeout() {
delayTestFinish(5000);
Settings s = Ajax.createSettings()
.setTimeout(100)
.setType("get")
// Connecting to private networks out of our LAN raises a timeout because
// there is no route for them in public networks.
.setUrl("http://10.32.45.67:7654");