mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
The test-backend parallel test runner system doesn't actually use the zulip_test database; instead, it creates its own databases off the zulip_test_template database. We were accidentally running `tools/generate_fixtures` even when there are no changes, because this function is shared with the tools/lib/test_server.py codebase, which needs us to do the work of creating a test database for it off the zulip_test_template database. Fixing this saves about 1.5s / 4s of the runtime of a single test.