Explorar o código

Unit test: Retry downloading large files several times

bel %!s(int64=8) %!d(string=hai) anos
pai
achega
a0cfe6b0d3
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      test/public_server.c

+ 3 - 3
test/public_server.c

@@ -3851,10 +3851,10 @@ START_TEST(test_large_file)
 
 #if defined(_WIN32)
 	ck_assert_int_le(retry_fail_cnt, 1);
-	ck_assert_int_ge(retry_fail_cnt, 2);
-#else
-	ck_assert_int_eq(retry_fail_cnt, 3);
+	ck_assert_int_ge(retry_ok_cnt, 2);
+#else	
 	ck_assert_int_eq(retry_fail_cnt, 0);
+    ck_assert_int_eq(retry_ok_cnt, 3);
 #endif
 
 	/* Stop the server */