Skip to content

Commit

Permalink
fix: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonrnewhouse committed Dec 20, 2024
1 parent 89cc12c commit 0fb61f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions influxdb3_write/src/persister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,8 @@ mod tests {
};
persister.persist_snapshot(&info_file).await.unwrap();
}
let snapshots = persister.load_snapshots(9500).await.unwrap();
// We asked for the most recent 9500 so there should be 9001 of them
let snapshots = persister.load_snapshots(1500).await.unwrap();
// We asked for the most recent 1500 so there should be 1001 of them
assert_eq!(snapshots.len(), 1001);
assert_eq!(snapshots[0].next_file_id.as_u64(), 1000);
assert_eq!(snapshots[0].wal_file_sequence_number.as_u64(), 1000);
Expand Down
3 changes: 0 additions & 3 deletions influxdb3_write/src/write_buffer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1766,9 +1766,6 @@ mod tests {
assert_eq!(ParquetFileId::next_id().as_u64(), 6);
}

#[tokio::test]
async fn catalog_ops_correctly_ordered() {}

/// This is the reproducer for [#25277][see]
///
/// [see]: https://github.com/influxdata/influxdb/issues/25277
Expand Down

0 comments on commit 0fb61f4

Please sign in to comment.