This is an automated email from the ASF dual-hosted git repository. sungwy pushed a commit to branch sungwy-patch-1 in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
commit e33a3e8f11f51b0d134411e7c802f1885c08791a Author: Sung Yun <[email protected]> AuthorDate: Wed May 6 08:24:23 2026 -0400 test: update flaky test assertion I ran into an issue with this test assertion a few times, and relaxing the check to `greater or equal to` seems safe and more stable. --- crates/iceberg/src/catalog/memory/catalog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iceberg/src/catalog/memory/catalog.rs b/crates/iceberg/src/catalog/memory/catalog.rs index 8fa5c479c..47867b279 100644 --- a/crates/iceberg/src/catalog/memory/catalog.rs +++ b/crates/iceberg/src/catalog/memory/catalog.rs @@ -1888,7 +1888,7 @@ pub(crate) mod tests { assert_eq!(table.identifier(), updated_table.identifier()); assert_eq!(table.metadata().uuid(), updated_table.metadata().uuid()); - assert!(table.metadata().last_updated_ms() < updated_table.metadata().last_updated_ms()); + assert!(table.metadata().last_updated_ms() <= updated_table.metadata().last_updated_ms()); assert_ne!(table.metadata_location(), updated_table.metadata_location()); assert!(
