fix(tests): improve test_scrubber_tenant_snapshot stability (#11471)

## Problem
`test_scrubber_tenant_snapshot` is flaky with `request was dropped`
errors. More details are in the issue.
- Closes: https://github.com/neondatabase/neon/issues/11278

## Summary of changes
- Disable shard scheduling during pageservers restart
- Add `reconcile_until_idle` in the end of the test
This commit is contained in:
Dmitrii Kovalkov
2025-04-08 14:03:38 +04:00
committed by GitHub
parent 8a6d0dccaa
commit 7791a49dd4
2 changed files with 16 additions and 2 deletions

View File

@@ -7270,7 +7270,7 @@ impl Service {
}
// Eventual consistency: if an earlier reconcile job failed, and the shard is still
// dirty, spawn another rone
// dirty, spawn another one
if self
.maybe_reconcile_shard(shard, &pageservers, ReconcilerPriority::Normal)
.is_some()