@Test(timeout = 90000) public void testRedirects(TestHarness harn) throws Throwable { harn.get("redir").log().go().assertStatus(HttpResponseStatus.OK).assertContent("Got it\n"); // Test that redirects time out correctly CallResult res = harn.get("redir").log().setTimeout(Duration.standardSeconds(1)).go(); res.await(); System.out.println("RESULT " + res); System.out.println("STATUS " + res.status()); res.assertTimedOut(); }