We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a57096 commit 98b66cbCopy full SHA for 98b66cb
api/src/test/java/org/asynchttpclient/async/RemoteSiteTest.java
@@ -119,7 +119,7 @@ public void testGoogleComWithTimeout() throws Exception {
119
try {
120
Response response = c.prepareGet("http://google.com/").execute().get(10, TimeUnit.SECONDS);
121
assertNotNull(response);
122
- assertEquals(response.getStatusCode(), 302);
+ assertTrue(response.getStatusCode() == 301 || response.getStatusCode() == 302);
123
} finally {
124
c.close();
125
}
0 commit comments