Avoid triggering Pipeline when running unit tests.

Review Request #12862 — Created March 2, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

When rendering full pages in unit tests, we were triggering Pipeline's
media compilation. This wasn't a problem before, because we had overridden
the list of Pipeline compilers, but we now hard-code Rollup if we opt in.
Rollup ends up triggering some long compilations in this environment, and
potentially was triggering some bad behavior somewhere, as it was resulting
in some stalled tests that had to be force-killed.

We now skip Pipeline entirely when running unit tests.

All unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Avoid triggering Pipeline when running unit tests.
When rendering full pages in unit tests, we were triggering Pipeline's media compilation. This has been happening for probably years now, but some of the new static media compilation with Rollup was a bit slow in this setup, and potentially was triggering some bad behavior somewhere, as it was resulting in some stalled tests. We now skip Pipeline entirely when running unit tests.
79608c178f801da8fc5d953638dc122532e734bf Christian Hammond
reviewboard/settings.py
Loading...