Skip to content

Fix silently dropped Streams.all autest assertions - #13577

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:claude/fix-dead-streams-all-assertions
Open

Fix silently dropped Streams.all autest assertions#13577
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:claude/fix-dead-streams-all-assertions

Conversation

@bneradt

@bneradt bneradt commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

AuTest's Streams entity defines All, not all, and does not override __setattr__, so every Streams.all = ... assignment created a dead instance attribute rather than registering a tester. Twelve assertions across seven gold tests had never run, and two of the expectations behind them had rotted unnoticed as a result.

This renames those assignments to Streams.All so the assertions register, and corrects the two expectations they exposed: client_default_inactivity_timeout.gold opened with three backticks rather than the two that mark an AuTest wildcard, and tls_hooks_client_verify left proxy.config.ssl.client.verify.server.policy at the default ENFORCED while its origin serves a self-signed cert.

cert_update.test.py has two more of these, left alone because #13576 is already rewriting that file.

Copilot AI lite review requested due to automatic review settings August 20, 2026 17:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings August 20, 2026 17:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

AuTest's Streams entity defines All, not all, and does not override
__setattr__, so every `Streams.all = ...` assignment created a dead
instance attribute rather than registering a tester. Twelve assertions
across seven gold tests had never run, and two of the expectations
behind them had rotted unnoticed as a result.

This patch renames those assignments to Streams.All so the assertions
register, and corrects the two expectations they exposed: a gold file
that opened with three backticks rather than the two that mark an
AuTest wildcard, and a test that left outbound server verification at
the default ENFORCED while its origin serves a self-signed certificate.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bneradt
bneradt force-pushed the claude/fix-dead-streams-all-assertions branch from c0213cf to 1c4ccdb Compare August 20, 2026 17:44
@bneradt bneradt removed the WIP label Aug 20, 2026
@bneradt bneradt added this to the 11.0.0 milestone Aug 20, 2026
@bneradt bneradt self-assigned this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants