test(scanner): repair post-fence fixtures (#6478)

This commit is contained in:
Zhengchao An
2026-08-24 09:33:21 +08:00
committed by GitHub
parent 2bd1df3075
commit 0e015360cc
3 changed files with 17 additions and 4 deletions
+2 -2
View File
@@ -151,8 +151,8 @@ async fn scanner_set_cache_admission_tracks_owner_snapshot_and_fails_closed() {
let set = store.pools[0].disk_set[0].clone();
assert!(
set.scanner_data_usage_publication_admission_guard().await.is_none(),
"a set must not publish before the owner has refreshed its movement snapshot"
set.scanner_data_usage_publication_admission_guard().await.is_some(),
"a set should refresh the idle owner snapshot before its first publication"
);
assert!(!store.scanner_data_usage_publication_blocked().await);
assert!(