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

tests(integration): add missing /status api tests #10629

Merged
merged 7 commits into from
Apr 17, 2023
Merged

Conversation

pluveto
Copy link
Contributor

@pluveto pluveto commented Apr 6, 2023

Summary

#8214 added configuration_hash in /status for dbless mode. It had tests, but they were never executed in CI as they were not added to run_tests.sh.

This change adds the #8214 tests to the test suite and fixes some broken tests.

Related commit:
4f8c99d

Checklist

Full changelog

  • Fix tests in spec/02-integration/08-status_api/01-core_routes_spec.lua
  • Add spec/02-integration/08-status_api/01-core_routes_spec.lua and spec/02-integration/11-dbless to the test suite.

Issue reference

Fix KAG-1135

@pluveto pluveto changed the title fix: add tests fix(test): Forget to add tests file path to run_tests script Apr 6, 2023
@pluveto pluveto changed the title fix(test): Forget to add tests file path to run_tests script fix(test): forget to add tests file path to run_tests script Apr 6, 2023
@pluveto
Copy link
Contributor Author

pluveto commented Apr 6, 2023

@shaneutt The test seems not working. Can you help us?

@hbagdi hbagdi requested a review from gszr April 6, 2023 20:11
@pluveto pluveto marked this pull request as draft April 12, 2023 05:52
@locao locao changed the title fix(test): forget to add tests file path to run_tests script tests(integration): add missing /status api tests Apr 12, 2023
@locao locao marked this pull request as ready for review April 12, 2023 22:13
@locao
Copy link
Contributor

locao commented Apr 13, 2023

@gszr pinging you as the tests were updated and this PR is converted from draft to ready to review.

@gszr
Copy link
Member

gszr commented Apr 17, 2023

Waiting on CI 💚

@locao locao merged commit b41d5bb into master Apr 17, 2023
@locao locao deleted the bug/tests_not_running branch April 17, 2023 14:29
outsinre added a commit that referenced this pull request May 8, 2023
Previously, CE #10629 has some code refactoring to status api test.
However, there are two pitfalls.

1. Some of the refactoring is uncessary.
2. The author intern was back to school, and did not finish his cherry-pick.

This PR make sure the api status test on CE and EE sync.
windmgc pushed a commit that referenced this pull request May 9, 2023
* tests(status-api): make sure status api test sync on CE and EE

Previously, CE #10629 has some code refactoring to status api test.
However, due to some pitfalls the PR cannot continue to progress so we make another PR to get the tests synced between CE and EE.

This PR make sure the api status test on CE and EE sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants