Index State Management support (#398)
* feat(plugins): add index management client plugin Signed-off-by: florian <[email protected]> * chore(CHANGELOG): added entry for ISM api support in changelog Signed-off-by: florian <[email protected]> * test(plugins): use assertEqual to compare call parameters Signed-off-by: florian <[email protected]> * test(plugins): edit policy to support older versions of opensearch Signed-off-by: florian <[email protected]> * test(plugins): ignore plugin tests when opensearch is unreleased Signed-off-by: florian <[email protected]> * test(plugins): move plugin tests into separate files Signed-off-by: florian <[email protected]> * test(plugins): fix import of OpenSearchTestCase Signed-off-by: florian <[email protected]> * chore(USER_GUIDE): add a index management plugin part Signed-off-by: florian <[email protected]> --------- Signed-off-by: florian <[email protected]>
This commit is contained in:
@@ -148,6 +148,15 @@ def run_all(argv=None):
|
||||
]
|
||||
)
|
||||
|
||||
# There are no plugins for unreleased versions of opensearch
|
||||
if environ.get("OPENSEARCH_VERSION") == "SNAPSHOT":
|
||||
ignores.extend(
|
||||
[
|
||||
"test_opensearchpy/test_server/test_plugins/",
|
||||
"test_opensearchpy/test_async/test_server/test_plugins/",
|
||||
]
|
||||
)
|
||||
|
||||
if ignores:
|
||||
argv.extend(["--ignore=%s" % ignore for ignore in ignores])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user