From 3f96d84a70822b404ef48744cb32172a2a709a28 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Mon, 18 Feb 2019 14:51:33 +0000 Subject: [PATCH] Reduce single node test cleanup logging As per https://github.com/elastic/elasticsearch/pull/39049#discussion_r257719530 --- .../main/java/org/elasticsearch/test/ESSingleNodeTestCase.java | 2 +- .../java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java index 343614081c48c..9ac74c29c1ef3 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/ESSingleNodeTestCase.java @@ -120,7 +120,7 @@ public void setUp() throws Exception { @Override public void tearDown() throws Exception { - logger.info("[{}#{}]: cleaning up after test", getTestClass().getSimpleName(), getTestName()); + logger.trace("[{}#{}]: cleaning up after test", getTestClass().getSimpleName(), getTestName()); super.tearDown(); assertAcked(client().admin().indices().prepareDelete("*").get()); MetaData metaData = client().admin().cluster().prepareState().get().getState().getMetaData(); diff --git a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java index 886e0e9b57588..18520eecd10d0 100644 --- a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java +++ b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlSingleNodeTestCase.java @@ -56,7 +56,7 @@ protected Collection> getPlugins() { @Override public void tearDown() throws Exception { try { - logger.info("[{}#{}]: ML-specific after test cleanup", getTestClass().getSimpleName(), getTestName()); + logger.trace("[{}#{}]: ML-specific after test cleanup", getTestClass().getSimpleName(), getTestName()); String[] nonAnnotationMlIndices; boolean mlAnnotationsIndexExists; do {