Skip to content

Conversation

@AlanCoding
Copy link
Member

@AlanCoding AlanCoding commented Nov 4, 2025

SUMMARY

From my data, 4 out of 10,000 test runs will fail with a "DID NOT RAISE" assertion, which is an unintended flaky fail.

While 0.04% is pretty low, we actually have several documented instances of this. So this should take care of it.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

Note

Reduces flakiness in test_random_titles_generates_correct_characters by retrying random_title(non_ascii=True) multiple times before asserting an ASCII encode failure.

  • Tests:
    • In awxkit/test/test_utils.py, make test_random_titles_generates_correct_characters more robust by looping retries of utils.random_title(non_ascii=True) (up to 4 times) before expecting UnicodeEncodeError on ASCII encoding.

Written by Cursor Bugbot for commit d14e6f6. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant