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

[BUG] Integration tests require a restart of the test OpenSearch instance #43

Open
dblock opened this issue Sep 17, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@dblock
Copy link
Member

dblock commented Sep 17, 2023

What is the bug?

When running integration tests added in #42 OpenSearch needs to be restarted to (re)install the extension.

How can one reproduce the bug?

Run poetry exec integration twice. OpenSearch will fail with the following.

DEBUG    root:test_hello.py:44 Duplicate uniqueId [hello-world]. Did not load extension: Extension [name=hello-world, uniqueId=hello-world, hostAddress=127.0.0.1, port=1234, version=0.1.0, opensearchVersion=3.0.0, minimumCompatibleVersion=3.0.0]

What is the expected behavior?

Uninstall the extension at the end of the integration test.

Ideally without restarting, I opened opensearch-project/OpenSearch#10088.

@dblock dblock added bug Something isn't working untriaged Issues that require attention from the maintainers. labels Sep 17, 2023
@dblock dblock removed the untriaged Issues that require attention from the maintainers. label Sep 18, 2023
@dbwiddis
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants