inmanta / inmanta-core

Inmanta is an automation and orchestration tool
https://inmanta.com
Apache License 2.0
27 stars 7 forks source link

Fix test cases related to logging #8155

Closed arnaudsjs closed 20 hours ago

arnaudsjs commented 21 hours ago

Description

Same PR as https://github.com/inmanta/inmanta-core/pull/8153 but applied on the iso7 branch due to a merge conflict.

This PR fixes the logging-related test cases that broke due to https://github.com/inmanta/inmanta-core/commit/fc81b36711235eb10bf9aa0a4764b8422d42d34a.

Root cause of failures:

The above-mentioned commit made sure that the root log level is not changed by the apply_config() method. This broke the logging-related test cases because they assume that they can change the root log level.

Changes made by this PR:

Self Check:

inmantaci commented 20 hours ago

Processing this pull request

inmantaci commented 20 hours ago

Merged into branches iso7 in d4b3f218d8fbf95f0e25d04435488bb64f1c4400