Skip to content

Fix flaky test#280

Merged
lfdebrux merged 1 commit into
mainfrom
ldeb-fix-flakiness
May 27, 2026
Merged

Fix flaky test#280
lfdebrux merged 1 commit into
mainfrom
ldeb-fix-flakiness

Conversation

@lfdebrux
Copy link
Copy Markdown
Contributor

@lfdebrux lfdebrux commented May 27, 2026

What problem does this pull request solve?

Callers of find_key were assuming that it would return a falsey object if the S3 object did not exist, but it was returning an Aws::Xml::DefaultList instead. This was causing the end to end tests to fail in the pipeline intermittently. This commit hopefully fixes the issue.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Has all relevant documentation been updated?

Callers of find_key were assuming that it would return a falsey object
if the S3 object did not exist, but it was returning an
Aws::Xml::DefaultList instead. This was causing the end to end tests to
fail in the pipeline. This commit hopefully fixes the issue.
@lfdebrux lfdebrux added this pull request to the merge queue May 27, 2026
Merged via the queue into main with commit 982bbc9 May 27, 2026
4 checks passed
@lfdebrux lfdebrux deleted the ldeb-fix-flakiness branch May 27, 2026 07:27
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