fix: suppress warning messages in failing build upload tests #2791
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the failing integration tests identified in EME-320 by adding
--log-level=error
to suppress warning messages that were causing test assertion failures locally.Problem
The following tests were failing locally but passing on CI:
command_build_upload_apk_all_uploaded
command_build_upload_apk_chunked
command_build_upload_ipa_chunked
command_build_upload_no_token
The tests were expecting a warning message
"Could not detect base branch reference: [..]"
that only appears in CI environments, not locally.Solution
Added
--log-level=error
to the trycmd test files to suppress warning messages:--log-level=error
flag to all affected test commandsTest Results
All previously failing tests now pass:
✅
integration::build::upload::command_build_upload_apk_all_uploaded
✅
integration::build::upload::command_build_upload_apk_chunked
✅
integration::build::upload::command_build_upload_ipa_chunked
✅
integration::build::upload::command_build_upload_no_token
🤖 Generated with Claude Code