Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Tests Files to new synchronization mechanism #2316

Closed
Tracked by #2728
damarisg opened this issue Dec 10, 2021 · 5 comments · Fixed by #2799
Closed
Tracked by #2728

Refactor Tests Files to new synchronization mechanism #2316

damarisg opened this issue Dec 10, 2021 · 5 comments · Fixed by #2799
Assignees

Comments

@damarisg
Copy link
Member

Due to the implementation of rsync as the new engine for FIM db synchronization the following tests need to be reworked to adapt to the new sync messages coming from rsync.

Test files

  • test_max_eps_synchronization.py

The above test assesses the max sync events per second defined in syscheck configuration for the synchronization process.

@damarisg damarisg changed the title Refactor Tests Files on Windows to new synchronization mechanism Refactor Tests Files to new synchronization mechanism Dec 10, 2021
@damarisg
Copy link
Member Author

damarisg commented Feb 21, 2022

2022/03/16

Working with a new package, I ask Core Fim some weird behavior. I wait your answer.

2022/02/23

The test was launched and failed. Also, I tested manually, and the results were the same.
The current problem is that the created files are not synchronized, and the records of all the created files are not displayed. (File monitoring is lost.)

The Core Team is fixing some bugs that are related to these failures. So, It's blocked until solved.

2022/02/21

Note: Changes of each test refactored applied on new-synchronization-mechanism temp branch.

@damarisg damarisg self-assigned this Feb 21, 2022
@CamiRomero CamiRomero self-assigned this Apr 5, 2022
@Deblintrake09
Copy link
Contributor

Deblintrake09 commented Apr 8, 2022

Update 2022/04/08

Update 2022/04/11

  • Manual testing on different fim Modes. It was found that the type of message is sent on realtime/whodata fim send_syscheck_event messages are sent, with type: event, and no synchro events are actually sent.
  • Asked Core about results found, to continue with development.

Update 2022/04/13

  • After Sync with team, it was decided to create two different tests, one for scheduled mode and one for realtime/whodata.
  • Refactored test to work on scheduled mode, created file test_sync_max_eps_scheduled.py
  • Working on refactor on test_sync_max_eps_rt_wd.py
  • Messages not appearing on agent.

@Deblintrake09
Copy link
Contributor

Deblintrake09 commented Apr 20, 2022

Update 2022/04/18 - 2022/04/20

@CamiRomero
Copy link
Contributor

I am going to start working today on this Issue since they have been closed 12456 and 13189

@damarisg
Copy link
Member Author

damarisg commented May 2, 2022

It was merged to 1915-fim-rsync-new-synchronization-mechanism branch.

@damarisg damarisg closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants