You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View group shutdown
couchdb_views_tests:315: couchdb_1283...*failed*
in function erlang:suspend_process/1
called as suspend_process(<0.27290.0>)
in call from couchdb_views_tests:'-couchdb_1283/0-fun-21-'/0 (test/couchdb_views_tests.erl, line 381)
**error:badarg
output:<<"">>
Analysis of the logfile shows the compaction completes in just 200ms:
[info] 2017-07-04T21:35:33.260737Z nonode@nohost <0.27290.0> -------- Compaction started for db: eunit-test-db-1499204132844268 idx: _design/foo
[info] 2017-07-04T21:35:33.262754Z nonode@nohost <0.27290.0> -------- Compaction finished for db: eunit-test-db-1499204132844268 idx: _design/foo
so my hunch is that it is already gone by the time we call erlang:suspend_process. This test is racey.
Possible Solution
@rnewson says on IRC we could spawn it with {hibernate_after,0} but that only works for gen_server:start_link|start|enter_loop, and we'd have to get deep inside couch_index_server to do that, I think.
We could bump up the populate_db to 1000 or 10000 documents as a workaround.
The text was updated successfully, but these errors were encountered:
https://travis-ci.org/apache/couchdb/jobs/250135101#L3825
Analysis of the logfile shows the compaction completes in just 200ms:
so my hunch is that it is already gone by the time we call erlang:suspend_process. This test is racey.
Possible Solution
@rnewson says on IRC we could spawn it with
{hibernate_after,0}
but that only works forgen_server:start_link|start|enter_loop
, and we'd have to get deep insidecouch_index_server
to do that, I think.We could bump up the populate_db to 1000 or 10000 documents as a workaround.
The text was updated successfully, but these errors were encountered: