Skip to content

Fix race in the test_h2_008_04 server-status check - #1109

Merged
notroj merged 1 commit into
apache:trunkfrom
notroj:h2-ranges-settle
Nov 28, 2026
Merged

notroj merged 1 commit into
apache:trunkfrom
notroj:h2-ranges-settle

Conversation

@notroj

@notroj notroj commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Trunk version of #720. The scoreboard is updated as each stream is cleaned up, which can lag the client finishing, so reading /status?auto straight after the range transfers occasionally sees the last stream not yet counted. Poll until Total Accesses settles before checking the totals.

Each extra poll is itself counted, so as @arturobernalg found in #720 the Total kBytes upper bound has to grow with them too: it now allows for the body size of every extra status response.

🤖 Generated with Claude Code

  Poll server-status until the access count settles, allowing for
  the polls themselves in the expected totals.
  (TestRanges.get_server_status): Record the response body length.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@arturobernalg arturobernalg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@notroj
notroj merged commit 15c6e22 into apache:trunk Nov 28, 2026
45 of 46 checks passed
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