From e67461cde6ba3849de35fd34d0f8526c6758639c Mon Sep 17 00:00:00 2001 From: perf3ct Date: Wed, 23 Jul 2025 00:24:47 +0000 Subject: [PATCH] fix(tests): also fix this test? --- tests/integration_smart_sync_error_handling.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration_smart_sync_error_handling.rs b/tests/integration_smart_sync_error_handling.rs index 33f2224..ebbff7c 100644 --- a/tests/integration_smart_sync_error_handling.rs +++ b/tests/integration_smart_sync_error_handling.rs @@ -209,8 +209,8 @@ async fn test_concurrent_smart_sync_operations() { user_id, directory_path: format!("/Concurrent{}", i + 10), directory_etag: format!("concurrent{}-etag", i + 10), - file_count: i as i32 + 1, - total_size_bytes: (i as i64 + 1) * 100000, + file_count: (i as i64) + 1, + total_size_bytes: ((i as i64) + 1) * 100000, }; // Add some delay to increase chance of race conditions @@ -302,7 +302,7 @@ async fn test_malformed_data_recovery() { user_id: user.id, directory_path: "/VeryLongPath/With/Many/Nested/Directories/That/Goes/On/And/On/For/A/Very/Long/Time/To/Test/Path/Length/Limits".to_string(), directory_etag: "very-long-etag-that-might-exceed-normal-database-field-lengths-and-cause-truncation-issues-if-not-handled-properly".to_string(), - file_count: i32::MAX, // Maximum integer value + file_count: i32::MAX as i64, // Maximum integer value total_size_bytes: i64::MAX, // Maximum long value }, ];