Skip to content

mobile: Fix missing logging output in Swift integration tests#36040

Merged
fredyw merged 9 commits intoenvoyproxy:mainfrom
fredyw:test_swift_logging
Sep 9, 2024
Merged

mobile: Fix missing logging output in Swift integration tests#36040
fredyw merged 9 commits intoenvoyproxy:mainfrom
fredyw:test_swift_logging

Conversation

@fredyw
Copy link
Copy Markdown
Member

@fredyw fredyw commented Sep 9, 2024

In Swift, print goes to stdout buffering. The fix is to flush the stdout and stderr before the end of the test.

See swiftlang/swift-corelibs-xctest#422 (comment)

Risk Level: low (tests only)
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Loading
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