Skip to content

Commit

Permalink
Test for registered setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
henningandersen committed May 31, 2024
1 parent 1027967 commit c4c3164
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

package org.elasticsearch.transport;

import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.test.ESSingleNodeTestCase;

public class TransportServiceIT extends ESSingleNodeTestCase {
@Override
protected Settings nodeSettings() {
return Settings.builder().put(super.nodeSettings()).put(TransportService.ENABLE_STACK_OVERFLOW_AVOIDANCE.getKey(), randomBoolean()).build();
}

public void testNodeStartsWithSetting() {
// just check that the node starts with the setting set, i.e., that the setting is registered.
}
}

0 comments on commit c4c3164

Please sign in to comment.