Skip to content

test: fix unstable concurrent cases with onTestFinished#499

Merged
9aoy merged 1 commit intomainfrom
concurrent-onTestFinished
Aug 22, 2025
Merged

test: fix unstable concurrent cases with onTestFinished#499
9aoy merged 1 commit intomainfrom
concurrent-onTestFinished

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Aug 22, 2025

Summary

fix unstable concurrent cases with onTestFinished.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 22, 2025 03:48
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 22, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit c76c730
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68a7e899b45f6d0008079caa
😎 Deploy Preview https://deploy-preview-499--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes unstable concurrent test cases by adding proper cleanup via the onTestFinished callback to CLI tests that run external processes.

  • Adds onTestFinished parameter to test functions to enable proper cleanup
  • Passes onTestFinished to runRstestCli calls to ensure process cleanup
  • Updates function signatures to destructure the test context parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@9aoy 9aoy merged commit bf2a37b into main Aug 22, 2025
17 checks passed
@9aoy 9aoy deleted the concurrent-onTestFinished branch August 22, 2025 03:52
@9aoy 9aoy mentioned this pull request Aug 27, 2025
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