Skip to content

Commit 715d668

Browse files
committed
fix blobs test
first protect, then delete tag
1 parent ca2b9a0 commit 715d668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/blobs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ async fn blobs_gc_protected() -> TestResult<()> {
5959
tokio::time::sleep(Duration::from_millis(100)).await;
6060
// protected from gc due to tag
6161
assert!(client.has(h1.hash).await?);
62-
client.tags().delete(h1.tag).await?;
6362
protected.lock().unwrap().push(h1.hash);
63+
client.tags().delete(h1.tag).await?;
6464
tokio::time::sleep(Duration::from_millis(100)).await;
6565
// protected from gc due to being in protected set
6666
assert!(client.has(h1.hash).await?);

0 commit comments

Comments
 (0)