Skip to content

Test fixes #516

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

Merged
merged 2 commits into from
May 23, 2024
Merged

Test fixes #516

merged 2 commits into from
May 23, 2024

Conversation

JamesWrigley
Copy link
Collaborator

This fixes some issues we're seeing in @davidizzle's tests:

  • Sometimes the test_finishes() test harness will attempt to cancel a task after the scheduler has already exited, causing exceptions.
  • The tests would hang at a certain point if debug logging was turned off.

Otherwise it may spin (see comments for details). Also refactored it into a
while-loop instead of using a @goto.
@JamesWrigley
Copy link
Collaborator Author

Discussed this on Zoom with @jpsamaroo, and we agreed it's ok to merge.

@JamesWrigley JamesWrigley merged commit bcc744b into jps/stream2 May 23, 2024
5 of 12 checks passed
@JamesWrigley JamesWrigley deleted the test-fixes branch May 23, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant