Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3508526
D4584.id15191.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4584.id15191.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
@@ -4,6 +4,8 @@
mod get;
#[path = "./blob/put.rs"]
mod put;
+#[path = "./blob/remove.rs"]
+mod remove;
#[path = "./lib/tools.rs"]
mod tools;
@@ -95,6 +97,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, 10:42 PM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689773
Default Alt Text
D4584.id15191.diff (1 KB)
Attached To
Mode
D4584: [services] Tests - Add REMOVE for Blob performance tests
Attached
Detach File
Event Timeline
Log In to Comment