Skip to content

Commit

Permalink
fix(#3963): update cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Deblintrake09 committed Mar 3, 2023
1 parent 169ef58 commit 2af54ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- whodata:
elements:
- queue_size:
value: 5
value: 10

- section: sca
elements:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
configuration_parameters:
TEST_DIRECTORIES: /
metadata:
files_to_add: 10
whodata_events: 5
files_to_add: 15
whodata_events: 10
fim_mode: whodata
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
- name: Queue Size 10 (Small value in range) starts properly
- name: Queue Size 100 (value inside range) starts properly
description: Verify if value set is inside valid range it is configured and whodata starts correctly.
configuration_parameters:
QUEUE_SIZE: 5
QUEUE_SIZE: 100
metadata:
queue_size: 5
queue_size: 100
audit_starts: true
valid_range: true

- name: Queue Size 5 (Lower limit) causes audit healthcheck fail
description: Verify if value set is inside valid range too small is causes whodata to fail to start starts.
- name: Queue Size 10 (Lower limit) starts properly
description: Verify if value set is the lower allowed limit, whodata estarts correctly
configuration_parameters:
QUEUE_SIZE: 1
QUEUE_SIZE: 10
metadata:
queue_size: 1
queue_size: 10
valid_range: true
audit_starts: false
fail_reason: queue_full
audit_starts: true

- name: Queue Size 1048576 (Upper limit) starts properly
description: Verify if value set is inside valid range it is configured and whodata starts correctly.
description: Verify if value set to the upper limit whodata starts correctly.
configuration_parameters:
QUEUE_SIZE: 1048576
metadata:
Expand All @@ -29,9 +28,9 @@
- name: Queue Size Invalid value below minimum
description: Verify if value set is below allowed minimum, whodata fails to start.
configuration_parameters:
QUEUE_SIZE: -1
QUEUE_SIZE: 9
metadata:
queue_size: -1
queue_size: 9
valid_range: false
audit_starts: false
fail_reason: invalid_value
Expand Down

0 comments on commit 2af54ad

Please sign in to comment.