Skip to content

Commit 0fdafe5

Browse files
committed
Don't fail plugin manager test when downloading an actual plugin
1 parent 5eeb702 commit 0fdafe5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/org/elasticsearch/plugin/PluginManagerTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,9 @@ private void singlePluginInstallAndRemove(String pluginShortName, String pluginC
227227
assertThat(plugins, notNullValue());
228228
assertThat(plugins.length, is(0));
229229
} catch (IOException e) {
230-
logger.warn("--> IOException raised while downloading plugin [{}].", e, pluginShortName);
231-
throw e;
230+
logger.warn("--> IOException raised while downloading plugin [{}]. Skipping test.", e, pluginShortName);
232231
} catch (ElasticSearchTimeoutException e) {
233232
logger.warn("--> timeout exception raised while downloading plugin [{}]. Skipping test.", pluginShortName);
234-
throw e;
235233
}
236234
}
237235

0 commit comments

Comments
 (0)