Skip to content

Fix Integration tests add DISABLE_DATABASE_DUMP flag#136

Merged
sprankhub merged 1 commit intoextdn:masterfrom
convenient:patch-1
Oct 16, 2025
Merged

Fix Integration tests add DISABLE_DATABASE_DUMP flag#136
sprankhub merged 1 commit intoextdn:masterfrom
convenient:patch-1

Conversation

@convenient
Copy link
Copy Markdown
Contributor

I think this should fix #134

I never extract this database dump from the github action anyway, so turning it off is no great loss (and may actually speed things up by a few seconds?).

I have verified this process by bodging in the sed hack via magento_post_install_script which can be seen here convenient/magento-broken-integration-tests-events#2

I think this should fix extdn#134

I never extract this database dump from the github action anyway, so turning it off is no great loss (and may actually speed things up by a few seconds?). 

I have verified this process by bodging in the `sed` hack via `magento_post_install_script` which can be seen here convenient/magento-broken-integration-tests-events#2
@convenient convenient changed the title Integration tests add DISABLE_DATABASE_DUMP flag Fix Integration tests add DISABLE_DATABASE_DUMP flag Oct 16, 2025
Copy link
Copy Markdown
Collaborator

@sprankhub sprankhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

I don't like the core hack, but I also don't see a better option. And I absolutely agree that we don't need the dump, as it wouldn't be re-used in CI anyway.

@sprankhub sprankhub merged commit ca73088 into extdn:master Oct 16, 2025
@convenient
Copy link
Copy Markdown
Contributor Author

@sprankhub my tests are now going green without my hack. This should resolve #134 convenient/magento-broken-integration-tests-events#3

Agreed, I am far from in love with this code change, I initially looked for some flag to stop magento dumping but AFAIK this is always hardcoded to be enabled. Another workaround could have been to put in a "fake" empty dump file at the expected location so that it thinks the dump exists and doesn't do it? But either way, we're dealing with side effects of the system.

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.

Integration tests are always failed

2 participants