elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 70 forks source link

[BUG] Failing cert tests on Ubuntu 20.04 #167

Open laurocaetano opened 3 years ago

laurocaetano commented 3 years ago

Describe the bug

Failing integration tests when running on Ubuntu 20.04. They seem to fail due to connectivity issues:

Error: Error { kind: Http(reqwest::Error { kind: Request, url: Url { scheme: "https", host: Some(Domain("localhost")), port: Some(9200), path: "/", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) }) }

I will try to debug the failures, so I can try to understand the real reason it fails. When I have more information, I will update the description in this issue.

To Reproduce

Run the test suit with: $ cargo make test --env TEST_SUITE=platinum

Expected behavior

All tests would pass.

Environment (please complete the following information):

Additional context

russcam commented 3 years ago

Thanks for opening, @laurocaetano. My suspicion is that the test assertions are no longer correct, but haven't had a chance to dig into yet.

laurocaetano commented 3 years ago

Thanks for taking a look @russcam. I believe in ~2/3 weeks from now I can start to take a look at the issue again.