Skip to content
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

ARROW-11908: [C++] Work around flaky integration by retrying #9755

Closed
wants to merge 1 commit into from

Conversation

lidavidm
Copy link
Member

In principle I don't like tests which retry until they succeed, but in the meantime, flaky integration tests are making them a bad signal for maintainers. While the Rust side gets sorted out, this should paper over the issues. (It doesn't help that 'connected' in gRPC is (for reasonable reasons) nebulous, such that you don't get an actual connection error until you make a call.)

(The main issue is that it appears Rust's gRPC server returns to application code before it's quite fully listening, so a fast-enough client like C++ might run into a server that's not quite ready yet.)

@github-actions
Copy link

@pitrou pitrou closed this in a24f802 Mar 22, 2021
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
In principle I don't like tests which retry until they succeed, but in the meantime, flaky integration tests are making them a bad signal for maintainers. While the Rust side gets sorted out, this should paper over the issues. (It doesn't help that 'connected' in gRPC is (for reasonable reasons) nebulous, such that you don't get an actual connection error until you make a call.)

(The main issue is that it appears Rust's gRPC server returns to application code before it's quite fully listening, so a fast-enough client like C++ might run into a server that's not quite ready yet.)

Closes apache#9755 from lidavidm/arrow-11908

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 2021
In principle I don't like tests which retry until they succeed, but in the meantime, flaky integration tests are making them a bad signal for maintainers. While the Rust side gets sorted out, this should paper over the issues. (It doesn't help that 'connected' in gRPC is (for reasonable reasons) nebulous, such that you don't get an actual connection error until you make a call.)

(The main issue is that it appears Rust's gRPC server returns to application code before it's quite fully listening, so a fast-enough client like C++ might run into a server that's not quite ready yet.)

Closes apache#9755 from lidavidm/arrow-11908

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants