Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-config/pull/7#issuecomment-152918941
  
    This causes errors during tests run:
    ```
    ======================== EUnit ========================
    module 'config_app'
    module 'config_util'
    module 'config_listener'
    module 'config'
      config: to_integer_test...ok
      config: to_float_test...ok
      module 'config_tests'
        CouchDB config tests
          Config get tests
            config_tests:221: should_load_all_configs...[0.001 s] ok
    2015-11-02 08:31:53.274 [error] Undefined <0.885.0> Supervisor 
gr_counter_sup had child undefined started with 
gr_counter:start_link(gr_lager_default_tracer_counters) at <0.902.0> exit with 
reason killed in context child_terminated
    2015-11-02 08:31:53.274 [error] Undefined <0.886.0> Supervisor gr_param_sup 
had child undefined started with 
gr_param:start_link(gr_lager_default_tracer_params) at <0.901.0> exit with 
reason killed in context child_terminated
            config_tests:224: should_locate_daemons_section...ok
            config_tests:227: should_locate_mrview_handler...ok
            config_tests:231: 
should_return_undefined_atom_on_missed_section...ok
            config_tests:235: should_return_undefined_atom_on_missed_option...ok
            config_tests:239: 
should_return_custom_default_value_on_missed_option...ok
            config_tests:243: should_only_return_default_on_missed_option...ok
            config_tests:247: should_fail_to_get_binary_value...ok
            config_tests:254: should_return_any_supported_default (for 
type(undefined))...ok
            config_tests:254: should_return_any_supported_default (for 
type("list"))...ok
            config_tests:254: should_return_any_supported_default (for 
type(true))...ok
            config_tests:254: should_return_any_supported_default (for 
type(false))...ok
            config_tests:254: should_return_any_supported_default (for 
type(0.1))...ok
            config_tests:254: should_return_any_supported_default (for 
type(1))...ok
            [done in 0.597 s]
          Config set tests
            config_tests:258: should_update_option...[0.010 s] ok
            config_tests:265: should_create_new_section...ok
            config_tests:273: should_fail_to_set_binary_value...ok
            [done in 0.055 s]
          Config deletion tests
            config_tests:277: 
should_return_undefined_atom_after_option_deletion...ok
            config_tests:284: should_be_ok_on_deleting_unknown_options...ok
            [done in 0.031 s]
          Configs overide tests
            config_tests:287: should_ensure_in_defaults...ok
            config_tests:297: should_override_options...ok
            config_tests:305: should_create_new_sections_on_override...ok
            config_tests:313: should_win_last_in_chain...ok
            [done in 0.058 s]
          Config persistent changes
            config_tests:316: should_write_changes...[0.003 s] ok
            config_tests:330: should_ensure_that_default_wasnt_modified...ok
            config_tests:338: 
should_ensure_that_written_to_last_config_in_chain...ok
            [done in 0.038 s]
          Test config with no files
            config_tests:346: should_ensure_that_no_ini_files_loaded...[0.001 
s] ok
            config_tests:349: should_create_non_persistent_option...ok
            config_tests:356: should_create_persistent_option...ok
            [done in 0.025 s]
          Test config_listener behaviour
            config_tests:363: should_handle_value_change...ok
            config_tests:368: 
should_pass_correct_state_to_handle_config_change...ok
            config_tests:375: 
should_pass_correct_state_to_handle_config_terminate...ok
    2015-11-02 08:31:55.693 [error] Undefined <0.2136.0> Supervisor config_sup 
had child undefined started with 
config:start_link(["/home/kxepal/projects/asf/couchdb/couchdb/tmp/etc/default_eunit.ini","/home/kxepal/projects/as...",...])
 at <0.2137.0> exit with reason shutdown in context shutdown_error
            config_tests:392: 
should_pass_subscriber_pid_to_handle_config_terminate...ok
    2015-11-02 08:31:55.713 [error] Undefined <0.2183.0> Supervisor config_sup 
had child undefined started with 
config:start_link(["/home/kxepal/projects/asf/couchdb/couchdb/tmp/etc/default_eunit.ini","/home/kxepal/projects/as...",...])
 at <0.2184.0> exit with reason shutdown in context shutdown_error
            config_tests:401: 
should_not_call_handle_config_after_related_process_death...[0.001 s] ok
    2015-11-02 08:31:55.732 [error] Undefined <0.2230.0> Supervisor config_sup 
had child undefined started with 
config:start_link(["/home/kxepal/projects/asf/couchdb/couchdb/tmp/etc/default_eunit.ini","/home/kxepal/projects/as...",...])
 at <0.2231.0> exit with reason shutdown in context shutdown_error
            config_tests:410: should_remove_handler_when_requested...[0.001 s] 
ok
    2015-11-02 08:31:55.751 [error] Undefined <0.2277.0> Supervisor config_sup 
had child undefined started with 
config:start_link(["/home/kxepal/projects/asf/couchdb/couchdb/tmp/etc/default_eunit.ini","/home/kxepal/projects/as...",...])
 at <0.2278.0> exit with reason shutdown in context shutdown_error
            [done in 2.122 s]
          [done in 2.926 s]
        [done in 2.927 s]
      [done in 2.933 s]
    ```
    
    And not sure if these are for good.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to