From baf3bd92240a05e6b8d37375b8be38719cd5716e Mon Sep 17 00:00:00 2001 From: David Pilato Date: Wed, 15 Jan 2014 17:10:11 +0100 Subject: [PATCH] Don't fail plugin manager test when downloading an actual plugin --- .../java/org/elasticsearch/plugin/PluginManagerTests.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/org/elasticsearch/plugin/PluginManagerTests.java b/src/test/java/org/elasticsearch/plugin/PluginManagerTests.java index 65f1032b18a..1cb1dea67b1 100644 --- a/src/test/java/org/elasticsearch/plugin/PluginManagerTests.java +++ b/src/test/java/org/elasticsearch/plugin/PluginManagerTests.java @@ -227,11 +227,9 @@ public class PluginManagerTests extends ElasticsearchIntegrationTest { assertThat(plugins, notNullValue()); assertThat(plugins.length, is(0)); } catch (IOException e) { - logger.warn("--> IOException raised while downloading plugin [{}].", e, pluginShortName); - throw e; + logger.warn("--> IOException raised while downloading plugin [{}]. Skipping test.", e, pluginShortName); } catch (ElasticsearchTimeoutException e) { logger.warn("--> timeout exception raised while downloading plugin [{}]. Skipping test.", pluginShortName); - throw e; } }