wohali opened a new issue #571: eunit context cleanup times out while cleaning up os daemons URL: https://github.com/apache/couchdb/issues/571 ## Expected and Current Behaviour Sometimes, the eunit test harness fails to complete context cleanup. In this case, it fails finishing off the `couchdb_os_daemons_tests` test `should_spawn_multiple_daemons`. Makefile output: ``` module 'couchdb_os_daemons_tests' OS Daemons tests couchdb_os_daemons_tests:107: should_check_daemon...ok couchdb_os_daemons_tests:113: should_check_daemon_table_form...ok couchdb_os_daemons_tests:120: should_clean_tables_on_daemon_remove...[0.548 s] ok couchdb_os_daemons_tests:127: should_spawn_multiple_daemons...[0.607 s] ok undefined *** context cleanup failed *** **in function test_util:stop_sync_throw/4 (src/test_util.erl, line 161) in call from couchdb_os_daemons_tests:teardown/2 (test/couchdb_os_daemons_tests.erl, line 58) **throw:{timeout,os_daemon_stop} Application config was left running! Application couch_epi was left running! Application ioq was left running! undefined Application config was left running! *** context setup failed *** **in function meck_proc:start/2 (src/meck_proc.erl, line 96) called as start(couch_stats,[passthrough]) in call from test_util:mock/1 (src/test_util.erl, line 245) in call from test_util:'-mock/1-lc$^0/1-0-'/1 (src/test_util.erl, line 238) in call from test_util:start/3 (src/test_util.erl, line 226) in call from couchdb_os_daemons_tests:setup/1 (test/couchdb_os_daemons_tests.erl, line 47) **error:{already_started,<0.10686.1>} [done in 7.158 s] ``` ## Possible Solution Increase the timeout for `couchdb_os_daemons_tests:teardown/2`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
