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

Aimless test cleanup #189

Merged

Conversation

CosmicHorrorDev
Copy link
Collaborator

Each commit is pretty independent

The improvements to failure detection in interpreter tests all revolve around trying to pick up on some internal task dying instead of just hanging forever. Since the interpreter and image fetching/decoding is all run in separate threads from the test any panic in those threads cause the test to hang. The thread panicking will still get captured and printed which is nice for easily debugging failures. All we needed to do was have conditions in place, so that the main test thread knows when to die appropriately

The other commit was just moving the existing YAML frontmatter test to join the other interpreter tests since it tests through even more code for free1

Footnotes

  1. well... more or less

@CosmicHorrorDev CosmicHorrorDev added the C-refactor Category: Reworking an existing feature label Dec 10, 2023
@CosmicHorrorDev CosmicHorrorDev merged commit 999320e into Inlyne-Project:main Dec 10, 2023
4 checks passed
@CosmicHorrorDev CosmicHorrorDev deleted the aimless-test-cleanup branch April 6, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-refactor Category: Reworking an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant