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

[Chore] Allow beforeTest hook that blocks until IPC (e.g., file sync) signals test continuation #12

Open
delsner opened this issue Jun 8, 2022 · 0 comments
Labels
chore Something to clean up

Comments

@delsner
Copy link
Contributor

delsner commented Jun 8, 2022

Currently, the pre-test hook will be executed as a background process and the JVM process continues running without interruption. There might be cases where we want to also sync the pre-test hook with the JVM process, to wait until the pre-test hook has been completely executed (e.g., if attaching with instrumentation tool to JVM process).

The simplest way to achieve synchronization between the JVM process and the pre-test hook process would be through file synchronization, where the JVM process waits for a file to be available (by polling) and the pre-test hook process creates the file upon successful initialization.

@delsner delsner linked a pull request Jun 13, 2022 that will close this issue
@delsner delsner removed a link to a pull request Jun 13, 2022
@delsner delsner added the chore Something to clean up label Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Something to clean up
Projects
None yet
Development

No branches or pull requests

1 participant