فهرست منبع

Unit test: Allow more retries when downloading large files in Windows

bel 8 سال پیش
والد
کامیت
f82df17cda
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      test/public_server.c

+ 2 - 2
test/public_server.c

@@ -3850,8 +3850,8 @@ START_TEST(test_large_file)
 	}
 	}
 
 
 #if defined(_WIN32)
 #if defined(_WIN32)
-	ck_assert_int_le(retry_fail_cnt, 1);
-	ck_assert_int_ge(retry_ok_cnt, 2);
+	ck_assert_int_le(retry_fail_cnt, 2);
+	ck_assert_int_ge(retry_ok_cnt, 1);
 #else
 #else
 	ck_assert_int_eq(retry_fail_cnt, 0);
 	ck_assert_int_eq(retry_fail_cnt, 0);
 	ck_assert_int_eq(retry_ok_cnt, 3);
 	ck_assert_int_eq(retry_ok_cnt, 3);