Fix plugin test to account for possibly extra dir by mock fs
This commit is contained in:
parent
801425397e
commit
62a0e0bc2b
|
@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue