Skip to content

Commit 47862e8

Browse files
authored
Enable security for OTLPMetricsIndexingRestIT (elastic#137355) (elastic#137358)
Security must be explicity enabled to make tests in fips mode pass. Relates: elastic#137325
1 parent 05fd7be commit 47862e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/otel-data/src/javaRestTest/java/org/elasticsearch/xpack/oteldata/otlp/OTLPMetricsIndexingRestIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public class OTLPMetricsIndexingRestIT extends ESRestTestCase {
7676
public static ElasticsearchCluster cluster = ElasticsearchCluster.local()
7777
.distribution(DistributionType.DEFAULT)
7878
.user(USER, PASS, "superuser", false)
79+
.setting("xpack.security.enabled", "true")
7980
.setting("xpack.security.autoconfiguration.enabled", "false")
8081
.setting("xpack.license.self_generated.type", "trial")
8182
.setting("xpack.ml.enabled", "false")

0 commit comments

Comments
 (0)