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

set catalog feature flag for integration tests (upgrade) #1435

Open
mkenigs opened this issue May 9, 2024 · 1 comment
Open

set catalog feature flag for integration tests (upgrade) #1435

mkenigs opened this issue May 9, 2024 · 1 comment
Assignees
Labels
team-cli Tickets relevant to the flox CLI team
Milestone

Comments

@mkenigs
Copy link
Contributor

mkenigs commented May 9, 2024

  • Copy any tests in upgrade.bats that are impacted by the catalog and run them with the catalog feature flag set. Make any small changes required to get them passing
  • Set FLOX_FEATURES_USE_CATALOG=true and _FLOX_USE_CATALOG_MOCK=/dev/null for all other tests in the file
  • If anything that isn't minor breaks, skip copied tests and create followup tickets
@mkenigs mkenigs added this to the Catalog 3 milestone May 9, 2024
@mkenigs mkenigs added the team-cli Tickets relevant to the flox CLI team label May 9, 2024
@zmitchell
Copy link
Contributor

zmitchell commented May 20, 2024

These tests likely need to be completely rewritten, but most of them can be made into unit tests.

Notes:

  • We recently discussed what it means to upgrade by install id. I don't know where that decision was written down or what the final outcome was, but it needs to be encoded as a test.
  • "'flox upgrade' upgrades with catalog" should be separate tests

@zmitchell zmitchell self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-cli Tickets relevant to the flox CLI team
Projects
None yet
Development

No branches or pull requests

2 participants