Skip to content

Force eager-loading for some specs that require it

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

In !72964 (merged), we disabled eager-loading by default when running tests locally.

An issue with is that some tests rely on eager loading. Here are some examples:

  1. Tests that search ObjectSpace may not be accurate if all objects are not loaded:

  2. Calls to Class.descendants / Class.subclasses also have the same problem because it uses ObjectSpace:

Edited by 🤖 GitLab Bot 🤖