Skip to content

2 tests are failing #1229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
doom369 opened this issue Aug 11, 2016 · 5 comments
Closed

2 tests are failing #1229

doom369 opened this issue Aug 11, 2016 · 5 comments

Comments

@doom369
Copy link
Contributor

doom369 commented Aug 11, 2016

testAllSequentiallyBecauseNotThreadSafe(org.asynchttpclient.Relative302Test)  Time elapsed: 0.139 sec  <<< FAILURE!
java.lang.AssertionError: expected [404] but found [200]
    at org.testng.Assert.fail(Assert.java:94)
    at org.testng.Assert.failNotEquals(Assert.java:513)
    at org.testng.Assert.assertEqualsImpl(Assert.java:135)
    at org.testng.Assert.assertEquals(Assert.java:116)
    at org.testng.Assert.assertEquals(Assert.java:389)
    at org.testng.Assert.assertEquals(Assert.java:399)
    at org.asynchttpclient.Relative302Test.redirected302InvalidTest(Relative302Test.java:108)
    at org.asynchttpclient.Relative302Test.testAllSequentiallyBecauseNotThreadSafe(Relative302Test.java:80)

runAllSequentiallyBecauseNotThreadSafe(org.asynchttpclient.PerRequestRelative302Test)  Time elapsed: 0.496 sec  <<< FAILURE!
java.lang.AssertionError: expected [404] but found [200]
    at org.testng.Assert.fail(Assert.java:94)
    at org.testng.Assert.failNotEquals(Assert.java:513)
    at org.testng.Assert.assertEqualsImpl(Assert.java:135)
    at org.testng.Assert.assertEquals(Assert.java:116)
    at org.testng.Assert.assertEquals(Assert.java:389)
    at org.testng.Assert.assertEquals(Assert.java:399)
    at org.asynchttpclient.PerRequestRelative302Test.redirected302InvalidTest(PerRequestRelative302Test.java:140)
    at org.asynchttpclient.PerRequestRelative302Test.runAllSequentiallyBecauseNotThreadSafe(PerRequestRelative302Test.java:86)
@slandelle
Copy link
Contributor

I fixed AsyncStreamHandlerTest on the 2.1 branch but haven't backported yet (AFK).

slandelle added a commit that referenced this issue Aug 11, 2016
@slandelle
Copy link
Contributor

After this single fix, build is fine both on my side, and on Travis.

Can you still reproduce?

@doom369
Copy link
Contributor Author

doom369 commented Aug 11, 2016

@slandelle 2 still fails. Updated description

@doom369 doom369 changed the title 3 tests are failing 2 tests are failing Aug 11, 2016
@slandelle
Copy link
Contributor

OK, test is broken/stupid and it fails because you have an HTTP server listening on port 80 on your host.

@slandelle
Copy link
Contributor

Fixed, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants