Closed chrzaszcz closed 1 month ago
elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 435 / Failed: 0 / User-skipped: 41 / Auto-skipped: 0
small_tests_25 / small_tests / 429b944c932f1b8921baffba1039b950769deab5 Reports root / small
small_tests_26 / small_tests / 429b944c932f1b8921baffba1039b950769deab5 Reports root / small
small_tests_26_arm64 / small_tests / 429b944c932f1b8921baffba1039b950769deab5 Reports root / small
ldap_mnesia_26 / ldap_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
dynamic_domains_mysql_redis_26 / mysql_redis / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4489 / Failed: 0 / User-skipped: 138 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
internal_mnesia_26 / internal_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 2415 / Failed: 0 / User-skipped: 755 / Auto-skipped: 0
ldap_mnesia_25 / ldap_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
pgsql_cets_26 / pgsql_cets / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4439 / Failed: 0 / User-skipped: 174 / Auto-skipped: 0
dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4519 / Failed: 0 / User-skipped: 108 / Auto-skipped: 0
mysql_redis_26 / mysql_redis / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4890 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0
pgsql_mnesia_25 / pgsql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
pgsql_mnesia_26 / pgsql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
mssql_mnesia_26 / odbc_mssql_mnesia / 429b944c932f1b8921baffba1039b950769deab5 Reports root/ big OK: 4908 / Failed: 0 / User-skipped: 115 / Auto-skipped: 0
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.46%. Comparing base (
94366fd
) to head (3444fe9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 435 / Failed: 0 / User-skipped: 41 / Auto-skipped: 0
small_tests_25 / small_tests / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root / small
small_tests_26 / small_tests / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root / small
small_tests_26_arm64 / small_tests / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root / small
ldap_mnesia_25 / ldap_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
ldap_mnesia_26 / ldap_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
dynamic_domains_mysql_redis_26 / mysql_redis / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4489 / Failed: 0 / User-skipped: 138 / Auto-skipped: 0
internal_mnesia_26 / internal_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 2415 / Failed: 0 / User-skipped: 755 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
pgsql_cets_26 / pgsql_cets / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4439 / Failed: 0 / User-skipped: 174 / Auto-skipped: 0
dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4519 / Failed: 0 / User-skipped: 108 / Auto-skipped: 0
pgsql_mnesia_25 / pgsql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
mysql_redis_26 / mysql_redis / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4889 / Failed: 1 / User-skipped: 133 / Auto-skipped: 0
pgsql_mnesia_26 / pgsql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
mssql_mnesia_26 / odbc_mssql_mnesia / adfa20616a8905708d1c896612e27e6a10bd6067 Reports root/ big OK: 4904 / Failed: 4 / User-skipped: 115 / Auto-skipped: 0
elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 435 / Failed: 0 / User-skipped: 41 / Auto-skipped: 0
small_tests_25 / small_tests / 3444fe99879164a0b7f802390174a32beffd27ba Reports root / small
small_tests_26 / small_tests / 3444fe99879164a0b7f802390174a32beffd27ba Reports root / small
small_tests_26_arm64 / small_tests / 3444fe99879164a0b7f802390174a32beffd27ba Reports root / small
ldap_mnesia_25 / ldap_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
ldap_mnesia_26 / ldap_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 2275 / Failed: 0 / User-skipped: 895 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4522 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0
internal_mnesia_26 / internal_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 2415 / Failed: 0 / User-skipped: 755 / Auto-skipped: 0
dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4519 / Failed: 0 / User-skipped: 108 / Auto-skipped: 0
dynamic_domains_mysql_redis_26 / mysql_redis / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4489 / Failed: 0 / User-skipped: 138 / Auto-skipped: 0
pgsql_mnesia_25 / pgsql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
mysql_redis_26 / mysql_redis / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4890 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0
pgsql_cets_26 / pgsql_cets / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4439 / Failed: 0 / User-skipped: 174 / Auto-skipped: 0
pgsql_mnesia_26 / pgsql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4911 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0
mssql_mnesia_26 / odbc_mssql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4905 / Failed: 3 / User-skipped: 115 / Auto-skipped: 0
mssql_mnesia_26 / odbc_mssql_mnesia / 3444fe99879164a0b7f802390174a32beffd27ba Reports root/ big OK: 4908 / Failed: 0 / User-skipped: 115 / Auto-skipped: 0
This PR allows dynamic modification of the configured handlers, which could be useful in tests, similarly to
mongoose_modules
andmongoose_service
.Previously, the tests used
meck
to inject logging events to an ETS table. Now it is possible to do this withadd_handler
andremove_handler
.Calling
intrument_helper:add(my_handler, Opts)
results in:#{my_handler => Opts}
in theinstrumentation
section ofmongoose_config
.mongoose_instrument_my_handler
module to handlers.Calling
instrument_helper:remove(my_handler)
does the opposite:mongoose_config
.By modifying
mongoose_config
in the correct order, there is consistency between the configuration and the registered handlers.