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

chore: improve test_timeout robustness #4494

Merged
merged 2 commits into from
Jan 22, 2025
Merged

chore: improve test_timeout robustness #4494

merged 2 commits into from
Jan 22, 2025

Conversation

romange
Copy link
Collaborator

@romange romange commented Jan 22, 2025

  1. use assert_eventually
  2. add more logs
  3. unrelated - add a stats event to track timeout shutdowns.

@romange romange requested a review from adiholden January 22, 2025 09:44
@@ -2290,6 +2290,8 @@ void ServerFamily::Info(CmdArgList args, const CommandContext& cmd_cntx) {
append("pipeline_queue_length", m.facade_stats.conn_stats.dispatch_queue_entries);

append("send_delay_ms", GetDelayMs(m.oldest_pending_send_ts));
append("send_delay_ms", GetDelayMs(m.oldest_pending_send_ts));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line looks like duplicate

1. use assert_eventually
2. add more logs
3. unrelated - add a stats event to track timeout shutdowns.
@romange romange enabled auto-merge (squash) January 22, 2025 11:55
@romange romange merged commit 451da72 into main Jan 22, 2025
10 checks passed
@romange romange deleted the Pr1 branch January 22, 2025 12:24
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

Successfully merging this pull request may close these issues.

2 participants