Visitar URL original
unflake TestConstructUnknownPython by tgummerer · Pull Request #23086 · pulumi/pulumi · GitHub
Skip to content

unflake TestConstructUnknownPython - #23086

Merged
tgummerer merged 1 commit into
masterfrom
tg/fix-flaky-python-test
May 13, 2026
Merged

tgummerer merged 1 commit into
masterfrom
tg/fix-flaky-python-test

Conversation

@tgummerer

Copy link
Copy Markdown
Collaborator

This test is frequently flaky. According to Claude, this is because resource.py shadows python's stdlib resource module. Apparently the search order can vary between runs depending on uv, so this breaks sometimes, but not others. Renaming the module fixes the collision, so it shouldn't bother us again.

Fixes #23085

This test is frequently flaky.  According to Claude, this is because
`resource.py` shadows python's stdlib resource module.  Apparently the
search order can vary between runs depending on `uv`, so this breaks
sometimes, but not others.  Renaming the module fixes the collision,
so it shouldn't bother us again.
@tgummerer
tgummerer requested a review from a team as a code owner May 13, 2026 05:16
@tgummerer tgummerer added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label May 13, 2026

@iwahbe iwahbe 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.

If it works

@tgummerer
tgummerer added this pull request to the merge queue May 13, 2026
Merged via the queue into master with commit 69d216c May 13, 2026
229 of 232 checks passed
@tgummerer
tgummerer deleted the tg/fix-flaky-python-test branch May 13, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact/no-changelog-required This issue doesn't require a CHANGELOG update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestConstructUnknownPython/testcomponent is flaky

2 participants