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

[Backport 2.x] Set up Rest Integration Test framework #302

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 7986cbf from #251.

* Setting up rest integration tests

Signed-off-by: Joshua Palis <[email protected]>

* removing stray log

Signed-off-by: Joshua Palis <[email protected]>

* Cleaning up integration test example

Signed-off-by: Joshua Palis <[email protected]>

* Fixing provision transport action to respond only after state has been updated to PROVISIONING

Signed-off-by: Joshua Palis <[email protected]>

* Fixing flaky encryption test

Signed-off-by: Joshua Palis <[email protected]>

* cleaning up old logs

Signed-off-by: Joshua Palis <[email protected]>

* Added helper methods to retrieve state and resources created, fixed integration test set up to wait for ml config index to become created, fixed settings update to oly occur once

Signed-off-by: Joshua Palis <[email protected]>

* Adding another test for update API, input validation, local model registration. Persiting cluster settings between test runs to ensure plugin apis are enabled. Cleaning up resources after all test runs complete, rather than between test runs

Signed-off-by: Joshua Palis <[email protected]>

* Adding test for search workflows API, ensures that returned credentials are encrypted

Signed-off-by: Joshua Palis <[email protected]>

* Update integ test TODOs to match current development progress

Signed-off-by: Daniel Widdis <[email protected]>

* Model Group step is not yet implemented

Signed-off-by: Daniel Widdis <[email protected]>

* Comment out tests for incomplete register local model implementation

Signed-off-by: Daniel Widdis <[email protected]>

* Fix unit tests broken with changes to fix integ tests

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
(cherry picked from commit 7986cbf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@ohltyler ohltyler merged commit 9c538b9 into 2.x Dec 19, 2023
5 of 13 checks passed
@ohltyler ohltyler deleted the backport/backport-251-to-2.x branch December 19, 2023 23:02
@dbwiddis
Copy link
Member

Uh, this had failing tests with some 3.0 constants not in 2.x, might need to revert it.

@dbwiddis
Copy link
Member

(I probably shouldn't have approved until I saw the tests complete. Sorry.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants