Skip to content

Commit 5c02377

Browse files
[ML] Disable security audit trail in native integ tests suite (#39683)
Investigating how to make DeleteExpiredDataIT faster, it was revealed that the security audit trail threads were quite hot. Disabling that seems to be helping quite a bit with making this test faster. This commit also unmutes the test to see how it goes with the audit trail disabled. Relates #39658 Closes #39575
1 parent b78a8a3 commit 5c02377

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

x-pack/plugin/ml/qa/native-multi-node-tests/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ integTestCluster {
4444
setting 'xpack.security.transport.ssl.key', nodeKey.name
4545
setting 'xpack.security.transport.ssl.certificate', nodeCert.name
4646
setting 'xpack.security.transport.ssl.verification_mode', 'certificate'
47-
setting 'xpack.security.audit.enabled', 'true'
47+
setting 'xpack.security.audit.enabled', 'false'
4848
setting 'xpack.license.self_generated.type', 'trial'
4949
setting 'xpack.ml.min_disk_space_off_heap', '200mb'
5050

x-pack/plugin/ml/qa/native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DeleteExpiredDataIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ public void testDeleteExpiredDataGivenNothingToDelete() throws Exception {
9191
client().execute(DeleteExpiredDataAction.INSTANCE, new DeleteExpiredDataAction.Request()).get();
9292
}
9393

94-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/39575")
9594
public void testDeleteExpiredData() throws Exception {
9695
// Index some unused state documents (more than 10K to test scrolling works)
9796
BulkRequestBuilder bulkRequestBuilder = client().prepareBulk();

0 commit comments

Comments
 (0)