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 <jpalis@amazon.com>

* removing stray log

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Cleaning up integration test example

Signed-off-by: Joshua Palis <jpalis@amazon.com>

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

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Fixing flaky encryption test

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* cleaning up old logs

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* 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 <jpalis@amazon.com>

* 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 <jpalis@amazon.com>

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

Signed-off-by: Joshua Palis <jpalis@amazon.com>

* Update integ test TODOs to match current development progress

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Model Group step is not yet implemented

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Comment out tests for incomplete register local model implementation

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Fix unit tests broken with changes to fix integ tests

Signed-off-by: Daniel Widdis <widdis@gmail.com>

---------

Signed-off-by: Joshua Palis <jpalis@amazon.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Co-authored-by: Daniel Widdis <widdis@gmail.com>
(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