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

Run rest-api-spec / YAML tests in CI #303

Merged
merged 3 commits into from
Aug 7, 2023

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Aug 4, 2023

Description

Fixes the test runner to download specs in a manner that won't get rate-limited.
Add CI jobs to run the YAML tests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Thomas Farr <[email protected]>
Yury-Fridlyand
Yury-Fridlyand previously approved these changes Aug 5, 2023
.github/actions/build-opensearch/action.yml Show resolved Hide resolved
.github/workflows/integration.yml Outdated Show resolved Hide resolved
.github/workflows/test-jobs.yml Show resolved Hide resolved
Signed-off-by: Thomas Farr <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Copy link
Collaborator

@VachaShah VachaShah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests are failing, are they flaky tests?

@Xtansia
Copy link
Collaborator Author

Xtansia commented Aug 7, 2023

Some tests are failing, are they flaky tests?

The tests for unreleased look to be failing due to changes in core that haven't made it into k-NN.
Test against 2.9.0 is getting a 500 error for one set of tests, need to check if it's a change in behaviour or bug in core.

Will create issues for them and investigate

@Xtansia Xtansia merged commit dcf543f into opensearch-project:main Aug 7, 2023
34 of 37 checks passed
@Xtansia Xtansia deleted the yaml-test-runner branch August 7, 2023 21:36
Xtansia added a commit to Xtansia/opensearch-net that referenced this pull request Jan 21, 2024
* Run yaml-test

Signed-off-by: Thomas Farr <[email protected]>

* Fixes

Signed-off-by: Thomas Farr <[email protected]>

* Separate workflow

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit dcf543f)
dblock pushed a commit that referenced this pull request Jan 22, 2024
… (#521)

* Run rest-api-spec / YAML tests in CI (#303)

* Run yaml-test

Signed-off-by: Thomas Farr <[email protected]>

* Fixes

Signed-off-by: Thomas Farr <[email protected]>

* Separate workflow

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit dcf543f)

* Updates references to security demo configuration (#480)

* Updates github action reference to secruity demo configuration

Signed-off-by: Darshit Chanpura <[email protected]>

* Updates abstractions README to reflect changes with demo configuration

Signed-off-by: Darshit Chanpura <[email protected]>

* Updates references to admin password

Signed-off-by: Darshit Chanpura <[email protected]>

* Wider test range

Signed-off-by: Thomas Farr <[email protected]>

* Set initial admin password

Signed-off-by: Thomas Farr <[email protected]>

* Fix disabling SSL

Signed-off-by: Thomas Farr <[email protected]>

* Improve demo config condition

Signed-off-by: Thomas Farr <[email protected]>

* Use random password on >=2.12

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Thomas Farr <[email protected]>
Co-authored-by: Thomas Farr <[email protected]>
(cherry picked from commit dd2e674)

* Fix deprecated function

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants