Fix plugin test to account for possibly extra dir by mock fs

This commit is contained in:
Ryan Ernst 2015-12-04 17:55:31 -08:00
parent 801425397e
commit 62a0e0bc2b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class PluginsServiceTests extends ESTestCase {
PluginsService.getPluginBundles(pluginsDir); PluginsService.getPluginBundles(pluginsDir);
fail(); fail();
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
assertTrue(e.getMessage().contains("[plugin-missing-descriptor] missing plugin descriptor")); assertTrue(e.getMessage(), e.getMessage().contains("missing plugin descriptor"));
} }
} }
} }