Verified Commit 22bd00a4 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

tests/c/download: decrease number of parallel downloads

With four parallel jobs it is common that connection fails with OCSP
response error. This seems to be an issue with some sort of
rate-limiting in nginx (target web server) on OCSP stamping. It looks
like as 3 is the magic number here for that.
parent 138c9e84
Pipeline #72414 passed with stages
in 3 minutes and 39 seconds
......@@ -60,7 +60,7 @@ END_TEST
// Half of them are small file and half of them are bigger ones
// This test requires min. 20MB of memory.
START_TEST(multiple_downloads) {
struct downloader *d = downloader_new(4);
struct downloader *d = downloader_new(3);
struct download_opts opts;
download_opts_def(&opts);
......@@ -101,7 +101,7 @@ END_TEST
// Check if we can selectivelly free handlers
START_TEST(free_instances) {
struct downloader *d = downloader_new(4);
struct downloader *d = downloader_new(3);
struct download_opts opts;
download_opts_def(&opts);
......@@ -158,7 +158,7 @@ END_TEST
// Test that even if one of download fail that all other will be downloaded
START_TEST(invalid_continue) {
struct downloader *d = downloader_new(4);
struct downloader *d = downloader_new(3);
struct download_opts opts;
download_opts_def(&opts);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment