From 413955d1f1d43ae0c13231b30f8226650479ecc3 Mon Sep 17 00:00:00 2001 From: Sicheng Pan Date: Fri, 20 Dec 2024 10:26:10 -0800 Subject: [PATCH] Fix unit test --- rust/worker/src/server.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rust/worker/src/server.rs b/rust/worker/src/server.rs index fdc0c093b30..b58dec8b018 100644 --- a/rust/worker/src/server.rs +++ b/rust/worker/src/server.rs @@ -498,14 +498,6 @@ mod tests { async fn validate_count_plan() { let mut executor = QueryExecutorClient::connect(run_server()).await.unwrap(); let mut scan_operator = scan(); - let request = chroma_proto::CountPlan { - scan: Some(scan_operator.clone()), - }; - - // segment or collection not found - let response = executor.count(request).await; - assert_eq!(response.unwrap_err().code(), tonic::Code::NotFound); - scan_operator.metadata = Some(chroma_proto::Segment { id: "invalid-metadata-segment-id".to_string(), r#type: "urn:chroma:segment/metadata/blockfile".to_string(),