Skip to content

Commit c6fc5ad

Browse files
committed
instrument the failing test
1 parent 6d39d40 commit c6fc5ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/store/fs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ async fn handle_batch(cmd: BatchMsg, id: Scope, scope: Arc<TempTagScope>, ctx: A
818818
if let Err(cause) = handle_batch_impl(cmd, id, &scope).await {
819819
error!("batch failed: {cause}");
820820
}
821+
println!("batch done, clearing scope {}", id);
821822
ctx.clear_scope(id).await;
822823
}
823824

@@ -1965,8 +1966,10 @@ pub mod tests {
19651966
.await;
19661967
assert!(tts.contains(tt1.hash_and_format()));
19671968
assert!(tts.contains(tt2.hash_and_format()));
1969+
println!("dropping batch");
19681970
drop(batch);
19691971
store.sync_db().await?;
1972+
println!("reading temp tags after batch drop");
19701973
let tts = store
19711974
.tags()
19721975
.list_temp_tags()

0 commit comments

Comments
 (0)