# Nextest configuration for StemeDB workspace. # # References: # https://nextest.rs/configuration/overview.html # https://nextest.rs/configuration/test-groups.html # Tests that spawn background tokio tasks and wait for them to make progress # (e.g. IngestWorker cursor polling) need exclusive CPU access under parallel # test load. Without this, the background tasks get starved and timeout. [test-groups.background-task-tests] max-threads = 1 [profile.default] # Give long-running simulation tests enough time before marking them as slow. slow-timeout = { period = "60s" } [[profile.default.overrides]] # smoke_high_volume_simulation spawns a background IngestWorker and polls its # cursor. Under full parallel load (2000+ concurrent tests) the tokio scheduler # starves the background task, causing spurious timeout failures. filter = 'test(smoke_high_volume_simulation)' test-group = "background-task-tests"