Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3507540
D4584.id14694.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.id14694.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
@@ -6,6 +6,8 @@
mod put;
#[path = "./blob/get.rs"]
mod get;
+#[path = "./blob/remove.rs"]
+mod remove;
use std::env;
use bytesize::ByteSize;
@@ -91,6 +93,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, 9:09 PM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689111
Default Alt Text
D4584.id14694.diff (1 KB)
Attached To
Mode
D4584: [services] Tests - Add REMOVE for Blob performance tests
Attached
Detach File
Event Timeline
Log In to Comment