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(migration): support access to latest code #11020

Closed
wants to merge 5 commits into from

Conversation

StarlightIbuki
Copy link
Contributor

@StarlightIbuki StarlightIbuki commented Jun 7, 2023

I'm closing this PR because this is way too complicated than I thought when I came up with the solution. It does not worth the cost.

At some point, we need to refactor the spec.helpers. It's too heavy, has too many dependencies and we even need the DB available to load the module. But for now, let's focus on the migration test.

Summary

Migration tests are run with the old code, which cannot access the latest spec.helpers and spec.helpers.*.
We could mount the latest code into the test-running container and map the path with a hack.

Checklist

  • The Pull Request has tests

Full changelog

  • The require hack
  • Updating the test copy-pasting the http_server

Issue reference

Fix KAG-1770
Unblock #11009

@pull-request-size pull-request-size bot added size/L and removed size/M labels Jun 7, 2023
@StarlightIbuki StarlightIbuki deleted the test/migration/latest-helpers branch January 21, 2025 09:32
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.

1 participant