Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3507489
D4582.id14686.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
825 B
Referenced Files
None
Subscribers
None
D4582.id14686.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
@@ -46,6 +46,20 @@
// PUT
rt.block_on(async {
println!("performing PUT 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 {
+ let data_exists: bool =
+ put::run(&mut client_cloned, &item_cloned).await.unwrap();
+ assert!(!data_exists, "test data should not exist");
+ }));
+ }
+
+ for handler in handlers {
+ handler.await.unwrap();
+ }
});
// GET
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 9:01 PM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689072
Default Alt Text
D4582.id14686.diff (825 B)
Attached To
Mode
D4582: [services] Tests - Add PUT for Blob performance tests
Attached
Detach File
Event Timeline
Log In to Comment