Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3507202
D4584.id14688.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
893 B
Referenced Files
None
Subscribers
None
D4584.id14688.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4584: [services] Tests - Add REMOVE for Blob performance tests
Attached
Detach File
Event Timeline
Log In to Comment