diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d153984dd..87945c2583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ Release report: TBD ### Changed +- Refactor `test_basic_usage_realtime_unsupported` FIM test to avoid using time travel ([#3623](https://github.com/wazuh/wazuh-qa/pull/3623)) \- (Tests) - Add `monitord.rotate_log` to `local_internal_options` file for `test_macos_format_query` ([#3602](https://github.com/wazuh/wazuh-qa/pull/3602)) \- (Tests) - Adapt analysisd integration tests for EPS ([#3559](https://github.com/wazuh/wazuh-qa/issues/3559)) \- (Tests) - Improve `test_remove_audit` FIM test to retry install and remove command ([#3562](https://github.com/wazuh/wazuh-qa/pull/3562)) \- (Tests) diff --git a/tests/integration/test_fim/test_files/test_basic_usage/data/wazuh_conf_check_realtime.yaml b/tests/integration/test_fim/test_files/test_basic_usage/data/wazuh_conf_check_realtime.yaml index 5806f2f557..e158249940 100644 --- a/tests/integration/test_fim/test_files/test_basic_usage/data/wazuh_conf_check_realtime.yaml +++ b/tests/integration/test_fim/test_files/test_basic_usage/data/wazuh_conf_check_realtime.yaml @@ -1,29 +1,31 @@ # conf 1 - tags: - - ossec_conf + - ossec_conf apply_to_modules: - - test_basic_usage_realtime_unsupported + - test_basic_usage_realtime_unsupported sections: - - section: syscheck - elements: - - disabled: - value: 'no' - - directories: - value: TEST_DIRECTORIES - attributes: - - check_all: 'yes' - - realtime: 'yes' - - section: sca - elements: - - enabled: - value: 'no' - - section: rootcheck - elements: - - disabled: - value: 'yes' - - section: wodle - attributes: - - name: 'syscollector' - elements: - - disabled: - value: 'yes' \ No newline at end of file + - section: syscheck + elements: + - disabled: + value: 'no' + - frequency: + value: 3 + - directories: + value: TEST_DIRECTORIES + attributes: + - check_all: 'yes' + - realtime: 'yes' + - section: sca + elements: + - enabled: + value: 'no' + - section: rootcheck + elements: + - disabled: + value: 'yes' + - section: wodle + attributes: + - name: syscollector + elements: + - disabled: + value: 'yes' diff --git a/tests/integration/test_fim/test_files/test_basic_usage/test_basic_usage_realtime_unsupported.py b/tests/integration/test_fim/test_files/test_basic_usage/test_basic_usage_realtime_unsupported.py index 88c19fefb9..cd5901b62a 100644 --- a/tests/integration/test_fim/test_files/test_basic_usage/test_basic_usage_realtime_unsupported.py +++ b/tests/integration/test_fim/test_files/test_basic_usage/test_basic_usage_realtime_unsupported.py @@ -140,6 +140,5 @@ def test_realtime_unsupported(get_configuration, configure_environment, file_mon detect_initial_scan(log_monitor) - regular_file_cud(directory_str, log_monitor, file_list=[test_file], time_travel=True, triggers_event=True, + regular_file_cud(directory_str, log_monitor, file_list=[test_file], time_travel=False, triggers_event=True, event_mode="scheduled", min_timeout=15) -