Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speculative workaround for macOS test reporting issue. #2730

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Jul 24, 2024

I believe the issue reported by #2689 is that the log line that outputs the test termination condition is being dropped by log streaming. The long term fix is to make sure that Briefcase either doesn't lose the log stream, or remove the need for log streaming entirely; but in the meantime, this approach has proven reliable (so far) in #2666.

This approach outputs the log termination condition 6 times, 0.5s apart. This gives multiple opportunities for the log message to be caught by the stream; Briefcase will stop the stream as soon as it sees one of them. The process will still stop - it will just take a couple more seconds to do so - which isn't a big problem when the test is already taking 3 minutes to run.

Fixes #2689.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 requested a review from mhsmith July 24, 2024 23:04
@mhsmith mhsmith merged commit a33dc91 into beeware:main Jul 25, 2024
35 checks passed
@freakboy3742 freakboy3742 deleted the macos-ci-stability branch July 25, 2024 21:31
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.

"Test suite didn't report a result" on macOS-arm64
2 participants