Skip to content

QA utility script setup and testing#1280

Merged
thomas-mangin merged 1 commit intomainfrom
claude/qa-bin-utility-011CUrmahLpVRhtBhcf1DKr7
Nov 7, 2025
Merged

QA utility script setup and testing#1280
thomas-mangin merged 1 commit intomainfrom
claude/qa-bin-utility-011CUrmahLpVRhtBhcf1DKr7

Conversation

@thomas-mangin
Copy link
Member

The functional test script was failing to report test timeouts correctly, causing tests that timed out to exit with success (0) instead of failure (1).

This issue affected all three test types (encoding, decoding, and parsing):

  • When tests exceeded the timeout threshold, they were marked as failed but the success variable was never set to False
  • This caused CI/CD to incorrectly report test runs as successful even when tests actually failed due to timeout

The fix adds success = False in the timeout cleanup loop for:

  • EncodingTests.run_selected() (line 526)
  • DecodingTests.run_selected() (line 663)
  • ParsingTests.run_selected() (line 738)

This ensures that any test timeout is correctly reported as a failure, allowing CI/CD to properly detect and report test failures.

Fixes: Test V (api-teardown) and any other tests that timeout

The functional test script was failing to report test timeouts correctly,
causing tests that timed out to exit with success (0) instead of failure (1).

This issue affected all three test types (encoding, decoding, and parsing):
- When tests exceeded the timeout threshold, they were marked as failed
  but the success variable was never set to False
- This caused CI/CD to incorrectly report test runs as successful even
  when tests actually failed due to timeout

The fix adds `success = False` in the timeout cleanup loop for:
- EncodingTests.run_selected() (line 526)
- DecodingTests.run_selected() (line 663)
- ParsingTests.run_selected() (line 738)

This ensures that any test timeout is correctly reported as a failure,
allowing CI/CD to properly detect and report test failures.

Fixes: Test V (api-teardown) and any other tests that timeout
@thomas-mangin thomas-mangin merged commit b5c6563 into main Nov 7, 2025
8 of 14 checks passed
@thomas-mangin thomas-mangin deleted the claude/qa-bin-utility-011CUrmahLpVRhtBhcf1DKr7 branch November 24, 2025 15:02
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