Repository navigation
fix(tests): live E2E test applies every migration; enterprise at main - #10
Merged
Merged
Conversation
…ise main TestLiveDatabaseE2E applied only 001_init, so saving a key failed once 003_web_keys added the kind column. Apply all pg and ch migrations in order, as the service does at boot. Move the enterprise submodule to lumen-enterprise main (324bb3a), which also ships the lumen-maintenance tool in the image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main CI failed in TestLiveDatabaseE2E: the test applied only
pg/001_init.sqlandch/001_init.sql, so saving a key hitcolumn "kind" of relation "lumen_api_keys" does not existafter 003_web_keys. It now applies every pg and ch migration in order, like the service at boot.Also moves the
enterprisesubmodule from 56f7b3c to lumen-enterprise main (324bb3a). Same Go code; main's Dockerfile also shipslumen-maintenance.Tests:
go test -race ./...against fresh Postgres 16 and the CI ClickHouse image, with the CI env: all packages ok.