Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index State Management support #398

Merged
merged 8 commits into from
Jun 28, 2023
Prev Previous commit
Next Next commit
test(plugins): ignore plugin tests when opensearch is unreleased
Signed-off-by: florian <florian@harfanglab.fr>
  • Loading branch information
florianvazelle committed Jun 27, 2023
commit 0281c32292198e99f9ad31814fa95c6870eab2c9
9 changes: 9 additions & 0 deletions test_opensearchpy/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.py",
"test_opensearchpy/test_async/test_server/test_plugins.py",
]
)

if ignores:
argv.extend(["--ignore=%s" % ignore for ignore in ignores])

Expand Down