diff options
author | Nick Vatamaniuc <vatamane@apache.org> | 2017-07-20 21:11:25 +0000 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2017-07-20 17:17:47 -0400 |
commit | 70b9b81578fce44f8056973bb23fd54a35a68055 (patch) | |
tree | 39179837b6cb6c7bb1b76324775ba21dfa6930e8 | |
parent | dfa14c06ac01c489a270c3fdde1572b5a2152c83 (diff) | |
download | couchdb-70b9b81578fce44f8056973bb23fd54a35a68055.tar.gz |
Increase timeout of some replication tests
Could reproduce issue #633 by limiting disk throughput in a VBox
VM instance to about 5KB. Try to increase the timeouts to let it
handle such apparent slowdowns.
Fixed #633
-rw-r--r-- | src/couch_replicator/test/couch_replicator_large_atts_tests.erl | 2 | ||||
-rw-r--r-- | src/couch_replicator/test/couch_replicator_small_max_request_size_target.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/couch_replicator/test/couch_replicator_large_atts_tests.erl b/src/couch_replicator/test/couch_replicator_large_atts_tests.erl index 5e29ff11f..b9adf5c4b 100644 --- a/src/couch_replicator/test/couch_replicator_large_atts_tests.erl +++ b/src/couch_replicator/test/couch_replicator_large_atts_tests.erl @@ -24,7 +24,7 @@ -define(ATT_SIZE_1, 2 * 1024 * 1024). -define(ATT_SIZE_2, round(6.6 * 1024 * 1024)). -define(DOCS_COUNT, 11). --define(TIMEOUT_EUNIT, 30). +-define(TIMEOUT_EUNIT, 120). setup() -> diff --git a/src/couch_replicator/test/couch_replicator_small_max_request_size_target.erl b/src/couch_replicator/test/couch_replicator_small_max_request_size_target.erl index 8de0a926b..99f5723bd 100644 --- a/src/couch_replicator/test/couch_replicator_small_max_request_size_target.erl +++ b/src/couch_replicator/test/couch_replicator_small_max_request_size_target.erl @@ -9,7 +9,7 @@ compare_dbs/3 ]). --define(TIMEOUT_EUNIT, 60). +-define(TIMEOUT_EUNIT, 180). setup() -> |