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

test: enable functional catalog tests #1458

Merged
merged 2 commits into from
May 20, 2024
Merged

test: enable functional catalog tests #1458

merged 2 commits into from
May 20, 2024

Conversation

mkenigs
Copy link
Contributor

@mkenigs mkenigs commented May 10, 2024

  • Enable catalog tests instead of skipping them since serverside is ready
  • Warm up the server for search and show by running a search or show that is allowed to fail. No warmup for install or upgrade is performed because it hasn't been timing out in CI.
  • Move the upgrade test from cli/tests to functional tests and hit the catalog for the actual upgrade operation. The installation for an old version is still performed using mock data. Use an actual response from the server for that data, except manually change version to old_version.

- Enable catalog tests instead of skipping them since serverside is
  ready
- Warm up the server for search and show by running a search or show
  that is allowed to fail. No warmup for install or upgrade is performed
  because it hasn't been timing out in CI.
- Move the upgrade test from cli/tests to functional tests and hit the
  catalog for the actual upgrade operation. The installation for an old
  version is still performed using mock data. Use an actual response
  from the server for that data, except manually change version to
  `old_version`.
@mkenigs
Copy link
Contributor Author

mkenigs commented May 10, 2024

Passing functional tests run at https://github.com/flox/flox/actions/runs/9038043980/job/24838364578

@mkenigs mkenigs added this pull request to the merge queue May 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks May 15, 2024
@billlevine billlevine added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
tests/catalog.bats Outdated Show resolved Hide resolved
tests/catalog.bats Outdated Show resolved Hide resolved
Co-authored-by: billlevine <bill@floxdev.com>
@mkenigs mkenigs enabled auto-merge May 20, 2024 15:46
@mkenigs mkenigs added this pull request to the merge queue May 20, 2024
Merged via the queue into main with commit 3e66112 May 20, 2024
15 checks passed
@mkenigs mkenigs deleted the functional-catalog branch May 20, 2024 16:20
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.

None yet

3 participants