-
Notifications
You must be signed in to change notification settings - Fork 51
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
[BUG] npm run test requires a docker instance of OpenSearch #313
Comments
The weird error message comes from Jest. I got the exact same error previously when trying to run the integ tests for the spec test framework without a docker container running. Instead of an AXIOS error being printed out (as it does when you run |
|
@nhtruong I think one idea would be to split |
What is the bug?
Tests require a local OpenSearch running on 9200. This is unexpected for unit tests.
How can one reproduce the bug?
What is the expected behavior?
Tests run by default should not require a server.
Do you have any additional context?
We can move some tests to integration tests, use mocks, or the new
--dry-run
option added in #303.Running all tests fails with unhelpful errors.
The text was updated successfully, but these errors were encountered: