HomePhorge

mediawiki.storage: Disable async GC during integration test

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

mediawiki.storage: Disable async GC during integration test

Tests may trigger GC explicitly, but avoid doing so in the background
made tests non-deterministic in terms of what they observe in
localStorage. It also meant that setTimeout, mw.storage,
mw.requestIdleCalback, $.Deferred() etc would be called during a
random unrelated test and thus invoke stubs and mocks that either
make the GC fail in a CI-breaking way, or make the caller break
due to untimely invoking a mock or stub.

Bug: T318103
Change-Id: I5fbc0ee2fdb55b631bce57022cc15d49fa85b110
(cherry picked from commit 40c95195d6a6fbbce3057df76215322de789cec7)

Details

Provenance
Timo Tijhof <krinkle@fastmail.com>Authored on Feb 24 2023, 10:08 PM
Umherirrender <umherirrender_de.wp@web.de>Committed on Mar 17 2023, 11:25 PM

Event Timeline

Umherirrender <umherirrender_de.wp@web.de> committed rMW5fc5e881a5ae: mediawiki.storage: Disable async GC during integration test (authored by Timo Tijhof <krinkle@fastmail.com>).Mar 17 2023, 11:25 PM

Commit No Longer Exists

This commit no longer exists in the repository.