Skip to content

Commit

Permalink
Add intellij run configurations for multi-node clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Mar 22, 2023
1 parent 60ebc31 commit 7527d6f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ out/
!.idea/eclipseCodeFormatter.xml
!.idea/externalDependencies.xml
!.idea/inspectionProfiles/Project_Default.xml
!.idea/runConfigurations/Debug_Elasticsearch.xml
!.idea/runConfigurations/
!.idea/scopes/x_pack.xml

# These files are generated in the main tree by IntelliJ
Expand Down
11 changes: 11 additions & 0 deletions .idea/runConfigurations/Debug_Elasticsearch__node_2_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/Debug_Elasticsearch__node_3_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ port of `5007`.
NOTE: In the case of test clusters using multiple nodes, multiple debuggers
will need to be attached on incrementing ports. For example, for a 3 node
cluster ports `5007`, `5008`, and `5009` will attempt to attach to a listening
debugger.
debugger. You can use the "Debug Elasticsearch (node 2)" and "(node 3)" run
configurations should you need to debug a multi-node cluster.

You can also use a combination of both flags to debug both tests and server.
This is only applicable to Java REST tests.
Expand Down

0 comments on commit 7527d6f

Please sign in to comment.