Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicheng Pan committed Dec 20, 2024
1 parent ef464d7 commit 413955d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rust/worker/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 413955d

Please sign in to comment.