nickva commented on issue #2051: CouchDB background jobs URL: https://github.com/apache/couchdb/pull/2051#issuecomment-501465463 Unit tests ``` $ make eunit apps=couch_jobs ==> couch_jobs (compile) ==> rel (compile) ==> asf (compile) ==> asf (setup_eunit) ==> couch_jobs (eunit) ======================== EUnit ======================== module 'couch_jobs_notifier_sup' module 'couch_jobs_notifier' module 'couch_jobs_activity_monitor_sup' module 'couch_jobs_fdb' module 'couch_jobs_app' module 'couch_jobs_sup' module 'couch_jobs_server' module 'couch_jobs_activity_monitor' module 'couch_jobs' module 'couch_jobs_tests' Test couch jobs basics Application crypto was left running! couch_jobs_tests:102: add_remove_pending...[0.041 s] ok couch_jobs_tests:127: add_remove_errors...[0.020 s] ok couch_jobs_tests:115: get_job_data_and_state...[0.021 s] ok couch_jobs_tests:141: resubmit_as_job_creator...[0.021 s] ok couch_jobs_tests:155: type_timeouts_and_server...[0.024 s] ok couch_jobs_tests:185: dead_notifier_restarts_jobs_server...[0.015 s] ok couch_jobs_tests:200: bad_messages_restart_couch_jobs_server...[0.018 s] ok couch_jobs_tests:228: bad_messages_restart_notifier...[0.021 s] ok couch_jobs_tests:259: bad_messages_restart_activity_monitor...[0.020 s] ok couch_jobs_tests:289: basic_accept_and_finish...[0.036 s] ok couch_jobs_tests:311: accept_blocking...[0.548 s] ok couch_jobs_tests:336: job_processor_update...[0.063 s] ok couch_jobs_tests:378: resubmit_enqueues_job...[0.056 s] ok couch_jobs_tests:400: add_with_scheduled_time...[0.033 s] ok couch_jobs_tests:411: resubmit_custom_priority...[0.034 s] ok couch_jobs_tests:425: accept_max_priority...[0.032 s] ok couch_jobs_tests:436: subscribe...[0.358 s] ok couch_jobs_tests:477: subscribe_wait_multiple...[0.743 s] ok couch_jobs_tests:528: enqueue_inactive...[5.218 s] ok couch_jobs_tests:550: remove_running_job...[0.027 s] ok couch_jobs_tests:565: check_get_jobs...[0.025 s] ok [os_mon] cpu supervisor port (cpu_sup): Erlang has closed [done in 8.174 s] [done in 10.879 s] [done in 10.879 s] module 'couch_jobs_type_monitor' module 'couch_jobs_pending' ======================================================= All 21 tests passed. Cover analysis: /Users/nvatama/asf/src/couch_jobs/.eunit/index.html Code Coverage: couch_jobs : 89% couch_jobs_activity_monitor : 91% couch_jobs_activity_monitor_sup : 100% couch_jobs_app : 100% couch_jobs_fdb : 96% couch_jobs_notifier : 95% couch_jobs_notifier_sup : 100% couch_jobs_pending : 100% couch_jobs_server : 83% couch_jobs_sup : 100% couch_jobs_type_monitor : 94% Total : 93% ==> rel (eunit) ==> asf (eunit) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
