Avoid triggering Pipeline when running unit tests.

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

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.

Summary ID
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
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (80adcb5)