Skip to main content

IMPORT_TIMEOUT

Constant IMPORT_TIMEOUT 

Source
pub const IMPORT_TIMEOUT: MockPersonFixture;
Expand description

The import that times out. Its own person, so the fault keyed on this student number cannot reach another spec’s row on the shared course.

Has a seeded person but, unlike its on_crs_101 neighbours, no seeded enrolment: a pre-seeded one would let some other spec’s unscoped tick resolve and import the row for real before this one ever arms the sisuTimeout fault. Its own spec creates the enrolment atomically with the fault. Keeping the person seeded matters — without it, that same unscoped tick answers personNotFound, which drops verified_student_number and strands the row in pending for good.