Skip to content

Commit d68a656

Browse files
committed
throw NodeValidationException in bootstrap phase
1 parent 0c16ed7 commit d68a656

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/main/java/org/elasticsearch/bootstrap/Elasticsearch.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public static void main(final String[] args) {
9797
assert bootstrap != null;
9898

9999
try {
100+
if (true) {
101+
throw new NodeValidationException("Potato test NodeValidationException");
102+
}
100103
initPhase2(bootstrap);
101104
initPhase3(bootstrap);
102105
} catch (NodeValidationException e) {

0 commit comments

Comments
 (0)