mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 16:39:11 +00:00
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…
x
Reference in New Issue
Block a user