Update crates/index-scheduler/src/scheduler/test_document_addition.rs

fix comment in test

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
Louis Dureuil 2025-04-15 14:48:11 +02:00 committed by GitHub
parent c1c065079f
commit b73660fa8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1059,7 +1059,7 @@ fn test_document_addition_with_set_and_null_primary_key() {
handle.advance_one_successful_batch();
snapshot!(snapshot_index_scheduler(&index_scheduler), name: "all_other_tasks_succeeds");
// The primary key should be set to `id` since this batch succeeded.
// The primary key should be set to `paw` since this batch succeeded.
let index = index_scheduler.index("doggos").unwrap();
let rtxn = index.read_txn().unwrap();
let primary_key = index.primary_key(&rtxn).unwrap().unwrap();