Page MenuHomePhabricator

D4276.diff
No OneTemporary

D4276.diff

diff --git a/services/commtest/tests/blob/remove.rs b/services/commtest/tests/blob/remove.rs
new file mode 100644
--- /dev/null
+++ b/services/commtest/tests/blob/remove.rs
@@ -0,0 +1,24 @@
+#[path = "./blob_utils.rs"]
+mod blob_utils;
+#[path = "../lib/tools.rs"]
+mod tools;
+
+use tonic::Request;
+
+use crate::blob_utils::{proto::RemoveRequest, BlobData, BlobServiceClient};
+use crate::tools::Error;
+
+pub async fn run(
+ client: &mut BlobServiceClient<tonic::transport::Channel>,
+ blob_data: &BlobData,
+) -> Result<(), Error> {
+ let cloned_holder = blob_data.holder.clone();
+ println!("remove {}", cloned_holder);
+
+ client
+ .remove(Request::new(RemoveRequest {
+ holder: cloned_holder,
+ }))
+ .await?;
+ Ok(())
+}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 7:54 PM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2678712
Default Alt Text
D4276.diff (750 B)

Event Timeline