Skip to content

Commit

Permalink
fix merge test flakiness (#5264)
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Jul 26, 2024
1 parent 9c55b81 commit 8a4f926
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions quickwit/quickwit-indexing/src/actors/merge_planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,11 @@ mod tests {
let node_id = NodeId::from("test-node");
let index_uid = IndexUid::new_with_random_ulid("test-index");
let source_id = "test-source".to_string();
let doc_mapping_uid1 = DocMappingUid::random();
let doc_mapping_uid2 = DocMappingUid::random();
let [doc_mapping_uid1, doc_mapping_uid2] = {
let mut doc_mappings = [DocMappingUid::random(), DocMappingUid::random()];
doc_mappings.sort();
doc_mappings
};
let pipeline_id = MergePipelineId {
node_id,
index_uid: index_uid.clone(),
Expand Down

0 comments on commit 8a4f926

Please sign in to comment.