summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHuyen Chau Nguyen <hello@chau-nguyen.de>2018-10-31 09:50:13 +0100
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-11-15 12:19:48 -0800
commit9a606caf0b33d5dba33e33ce3fb59724e1849eb1 (patch)
treec37a39c05f185ea4cd20275b538afdf34e892f2d /test
parente25111dba7b3d9c5d09437feb85404e6eabb9875 (diff)
downloadqtlocation-mapboxgl-9a606caf0b33d5dba33e33ce3fb59724e1849eb1.tar.gz
[core] define number of concurrent downloads in online file source variable
Diffstat (limited to 'test')
-rw-r--r--test/storage/online_file_source.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/online_file_source.test.cpp b/test/storage/online_file_source.test.cpp
index 39582543ef..36d6f63a77 100644
--- a/test/storage/online_file_source.test.cpp
+++ b/test/storage/online_file_source.test.cpp
@@ -433,7 +433,7 @@ TEST(OnlineFileSource, TEST_REQUIRES_SERVER(LowHighPriorityRequests)) {
std::size_t response_counter = 0;
const std::size_t NUM_REQUESTS = 3;
- fs.setMaximumConcurrentRequestsOverride(1);
+ fs.setMaximumConcurrentRequests(1);
NetworkStatus::Set(NetworkStatus::Status::Offline);
@@ -473,7 +473,7 @@ TEST(OnlineFileSource, TEST_REQUIRES_SERVER(LowHighPriorityRequestsMany)) {
int correct_regular = 0;
- fs.setMaximumConcurrentRequestsOverride(1);
+ fs.setMaximumConcurrentRequests(1);
NetworkStatus::Set(NetworkStatus::Status::Offline);