-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f9915b
commit e9c3cda
Showing
4 changed files
with
110 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
...est_files/test_audit_buffer/data/test_cases/cases_audit_buffer_over_time_no_overflow.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
- name: Audit Buffer does not overflow 1 | ||
description: Verify if value set is inside valid range it is configured and whodata starts correctly. | ||
- name: Audit Buffer full - new files detected in whodata | ||
description: Verify that after filling the queue, after space is in queue is freed new files are detected in whodata | ||
configuration_parameters: | ||
TEST_DIRECTORIES: / | ||
QUEUE_SIZE: 50 | ||
MAX_EPS: 5 | ||
FREQUENCY: 20 | ||
metadata: | ||
files_first_insert: 8 | ||
wait_time: 3 | ||
files_second_insert: 1 | ||
files_first_insert: 50 # Fills queue 100% - log is only generated when it overflows. | ||
wait_time: 5 # Time to wait between inserts to allow for files to be processed | ||
files_second_insert: 20 # Insert files to check that files are still being detected in whodata | ||
fim_mode: whodata |
13 changes: 9 additions & 4 deletions
13
.../test_files/test_audit_buffer/data/test_cases/cases_audit_buffer_over_time_overflown.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
- name: Audit buffer overflown - Get events in scheduled 2 | ||
- name: Audit Buffer overflows | ||
description: Verify if value set is inside valid range it is configured and whodata starts correctly. | ||
configuration_parameters: | ||
TEST_DIRECTORIES: / | ||
QUEUE_SIZE: 20 | ||
MAX_EPS: 4 | ||
FREQUENCY: 10 | ||
metadata: | ||
files_to_add: 10 | ||
whodata_events: 5 | ||
|
||
files_first_insert: 24 | ||
queue_size: 20 | ||
wait_time: 5 | ||
files_second_insert: 10 | ||
fim_mode: whodata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters