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

Improve tests that watch for subprocess logs #6461

Merged
merged 1 commit into from
May 27, 2022

Conversation

gjoseph92
Copy link
Collaborator

Tests like #6395 will fail (timeout) because a log statement doesn't get printed, but since you never get to see what was printed, CI failuers are hard to debug.

Adds a wait_for_log_line helper that tees the output to stdout, so you can at least see what happened.

  • Passes pre-commit run --all-files

Tests like dask#6395 will fail (timeout) because a log statement doesn't get printed, but since you never get to see what _was_ printed, CI failuers are hard to debug.

Adds a `wait_for_log_line` helper that tees the output to stdout, so you can at least see what happened.
@github-actions
Copy link
Contributor

Unit Test Results

       15 files  +       3         15 suites  +3   6h 34m 35s ⏱️ + 1h 35m 4s
  2 813 tests ±       0    2 730 ✔️ +     12    80 💤  -   14  2 +1  1 🔥 +1 
20 855 runs  +4 003  19 911 ✔️ +3 895  941 💤 +106  2 +1  1 🔥 +1 

For more details on these failures and errors, see this check.

Results for commit 65185c8. ± Comparison against base commit 0cd45ef.

@gjoseph92 gjoseph92 marked this pull request as ready for review May 27, 2022 00:33
@gjoseph92
Copy link
Collaborator Author

This doesn't fix #6395, but hopefully makes it easier to see what's going on when it fails.

cc @mrocklin

@mrocklin mrocklin merged commit 34a9409 into dask:main May 27, 2022
@mrocklin
Copy link
Member

Yup. Looks good to me. Thanks @gjoseph92

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