From caa080ec02847abae297fe0383191dd101c5f6bd Mon Sep 17 00:00:00 2001 From: David Roberts Date: Thu, 20 Apr 2017 10:04:30 +0100 Subject: [PATCH] [TEST] Fix exception specification Caused by a clash between two PRs Original commit: elastic/x-pack-elasticsearch@47910636eb104ff65dc0a1b8d03aef7b2e90b6f4 --- .../test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java b/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java index 09320344a5b..04a764fd7ab 100644 --- a/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java +++ b/qa/smoke-test-ml-with-security/src/test/java/org/elasticsearch/smoketest/MlWithSecurityIT.java @@ -37,7 +37,7 @@ public class MlWithSecurityIT extends ESClientYamlSuiteTestCase { private static final String TEST_ADMIN_PASSWORD = "changeme"; @After - public void clearMlState() throws IOException { + public void clearMlState() throws Exception { new MlRestTestStateCleaner(logger, adminClient(), this).clearMlMetadata(); }