diff --git a/crates/deltalake-core/tests/command_restore.rs b/crates/deltalake-core/tests/command_restore.rs index ef00f63ea9..a067393ec5 100644 --- a/crates/deltalake-core/tests/command_restore.rs +++ b/crates/deltalake-core/tests/command_restore.rs @@ -123,14 +123,16 @@ async fn test_restore_by_datetime() -> Result<(), Box> { let naive = NaiveDateTime::from_timestamp_millis(timestamp).unwrap(); let datetime: DateTime = Utc.from_utc_datetime(&naive); - let mut table_ts = history + let table_ts = history .iter() .map(|h| h.timestamp.unwrap()) .collect::>(); - table_ts.extend(vec![timestamp, datetime.timestamp_millis()]); - let random_ts = vec![0, 1, 2, 3, 4, 5, 6]; - println!("--> Can i see this without nocapture?"); - assert_eq!(table_ts, random_ts); + println!( + "--> All: {:?}, looking for: {} (from datetime: {})", + table_ts, + timestamp, + datetime.timestamp_millis() + ); let result = DeltaOps(table) .restore()