summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2021-09-08 11:06:02 -0700
committerJay Doane <jay.s.doane@gmail.com>2021-09-09 08:27:19 -0700
commit60b280bf9d83a47ab37733132c0d083ef022d99f (patch)
treec2cb18dee88b94bd17b3c9d11e8f2a2a1aad848a
parentbe326c63faa679b7c69b3b5cf9d48c41aa66130d (diff)
downloadcouchdb-60b280bf9d83a47ab37733132c0d083ef022d99f.tar.gz
Increase timeout for couch views active tasks tests
This doubles the default timeout to 10 seconds for these two tests. They typically take a long time to run: couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.444 s] ok couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.678 s] ok couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.646 s] ok couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[2.743 s] ok couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.910 s] ok couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...[3.063 s] ok and when resources are constrained, often time out: couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[2.044 s] ok couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out* couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...[1.777 s] ok couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out* couch_views_active_tasks_test:69: active_tasks_test_ (verify_basic_active_tasks)...*timed out* couch_views_active_tasks_test:70: active_tasks_test_ (verify_muliple_active_tasks)...*timed out*
-rw-r--r--src/couch_views/test/couch_views_active_tasks_test.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couch_views/test/couch_views_active_tasks_test.erl b/src/couch_views/test/couch_views_active_tasks_test.erl
index eded1fa18..5e7e7bebf 100644
--- a/src/couch_views/test/couch_views_active_tasks_test.erl
+++ b/src/couch_views/test/couch_views_active_tasks_test.erl
@@ -66,8 +66,8 @@ active_tasks_test_() ->
fun foreach_setup/0,
fun foreach_teardown/1,
[
- ?TDEF_FE(verify_basic_active_tasks),
- ?TDEF_FE(verify_muliple_active_tasks)
+ ?TDEF_FE(verify_basic_active_tasks, 10),
+ ?TDEF_FE(verify_muliple_active_tasks, 10)
]
}
}