Page MenuHomePhabricator

D4584.id14688.diff
No OneTemporary

D4584.id14688.diff

diff --git a/services/commtest/tests/blob_performance_test.rs b/services/commtest/tests/blob_performance_test.rs
--- a/services/commtest/tests/blob_performance_test.rs
+++ b/services/commtest/tests/blob_performance_test.rs
@@ -92,6 +92,23 @@
// REMOVE
rt.block_on(async {
println!("performing REMOVE operations");
+ let mut handlers = vec![];
+
+ for item in &blob_data {
+ let item_cloned = item.clone();
+ let mut client_cloned = client.clone();
+ handlers.push(tokio::spawn(async move {
+ remove::run(&mut client_cloned, &item_cloned).await.unwrap();
+ assert!(
+ get::run(&mut client_cloned, &item_cloned).await.is_err(),
+ "item should no longer be available"
+ );
+ }));
+ }
+
+ for handler in handlers {
+ handler.await.unwrap();
+ }
});
})
.await

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 7:41 PM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2688880
Default Alt Text
D4584.id14688.diff (893 B)

Event Timeline