Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbuild3r committed Oct 4, 2023
1 parent 0866e23 commit 32a3956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ mod test {

let latest_insertion_timestamp = db.get_latest_insertion_timestamp().await?.unwrap();

assert_eq!(latest_insertion_timestamp, insertion_timestamp);
assert!(latest_insertion_timestamp.timestamp() - insertion_timestamp.timestamp() <= 1);

Ok(())
}
Expand Down

0 comments on commit 32a3956

Please sign in to comment.