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

Better example of detached server required #51

Open
paul-uz opened this issue Mar 14, 2024 · 0 comments
Open

Better example of detached server required #51

paul-uz opened this issue Mar 14, 2024 · 0 comments

Comments

@paul-uz
Copy link

paul-uz commented Mar 14, 2024

I'm struggling to get the detached server working reliably with Vitest.

The docs have the comment // must be wrapped in async function but do not offer a real example.

The Java process seems to launch, and some times, everything works OK, but then sometime the CreateTableCommand fails, or the process isn't stopped, meaning the next test to try and start the process might fail cos a table already exists etc.

Basically, please provide real world usage examples of how to use the detached server so tests can run properly, spinning up and stopping the java process as needed.

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

No branches or pull requests

1 participant