-
Notifications
You must be signed in to change notification settings - Fork 4k
amqp_client_SUITE: Fix frequent test failures #13409
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
Conversation
f38acc2 to
804ac4e
Compare
|
I wonder whether instead of using |
4188c23 to
b6cb91a
Compare
We discussed this with David outside of GitHub and I agreed this is a good solution. |
b6cb91a to
45c23e0
Compare
10d6b12 to
0c79228
Compare
[Why] This testsuite is very unstable and it is difficult to debug while it is part of a `parallel-ct` group. It also forced us to re-run the entire `parallel-ct` group just to retry that one testsuite.
[Why] Without this, the connection process crashes. We see this happenning in CI frequently.
Fix crash in close_sent since the client might receive the open frame if it previously sent the close frame in state open_sent. We explicitly ignore the open frame. The alternative is to add another gen_statem state CLOSE_PIPE which might be an overkill however. This commit also fixes a wrong comment: No sessions have begun if the app requests the connection to be closed in state open_sent.
The testcases are `leader_transfer_credit` and `dead_letter_into_stream`.
…t value [Why] If the testcase fails, it was leaving the low heartbeat value in place, leading to many subsequent tests to fail.
... instead of a global one. Otherwise, one connection failure, even if expected by a testcase, will affect all subsequent testcases negatively.
[Why] Many tests do not clean up their connections if they encounter a failure. This affects subsequent testcases negatively.
0c79228 to
4d12efa
Compare
|
@Mergifyio backport v4.1.x v4.0.x |
✅ Backports have been created
|
amqp_client_SUITE: Fix frequent test failures (backport #13409)
closemessage in theopen_sentstateidle_time_out_on_serverrestores heartbeat valueend_per_testcase/2