mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
Why this change? We have been looking into a flaky system tests in one of our plugins where the DB transaction flow can be messed up from time to time. Our debugging effort is complicated by that fact that `test-prof` starts a DB transaction in a `before(:all)` block which makes it hard to properly log information. By allowing test-prof to be disabled completely, we believe it will make it easier for us to isolate the problem we are investigating. What does this change do? 1. Avoid loading test-prof files if `PREFABRICATION` env has been set to `0`. 2. Set `PREFABRICATION=0` for plugin system tests in Github actions