-
Notifications
You must be signed in to change notification settings - Fork 141
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
How to enable Debug for integ-test ES server in elastic search #102
Comments
Is the only way running the tests against a separately deployed ES server? I tried to:
@dai-chen do you have any quick hint that could save me? |
For future reference, I found a way to make it work Adding Important, I used |
This is a good opportunity to extract a TESTING.md document similar to https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md |
This PR may fixed the issue. Feel free to reopen if you still face any problem. Thanks! |
Running normal tests (without ES RestIntegTestTask) in intellij is very easy. We just import the project and run it it the Debug.
However I cannot find a way to run the underlying ES search server in debug mode.
I tried to add
-Dcluster.debug -Dtest.debug
, but it doesn't seem opening any port and the test will just run without stopping at breakpoints.I tried to look at the code of the RestIntegTestTask gradle task (https://github.com/search?q=RestIntegTestTask&type=code), but not much insight from it.
Any advice?
The text was updated successfully, but these errors were encountered: