Skip to content

Flaky test fix: Execute doc monitor to ensure that doc level query index is created and populated#221

Closed
eirsep wants to merge 1 commit intoopensearch-project:mainfrom
eirsep:flaky_fix
Closed

Flaky test fix: Execute doc monitor to ensure that doc level query index is created and populated#221
eirsep wants to merge 1 commit intoopensearch-project:mainfrom
eirsep:flaky_fix

Conversation

@eirsep
Copy link
Copy Markdown
Member

@eirsep eirsep commented Jan 4, 2023

org.opensearch.securityanalytics.resthandler.DetectorMonitorRestApiIT.testReplaceAggregationRuleWithDocRule_verifyFindings_success is currently flaky.

Verification of query index fails intermittently. Added execute monitor command to ensure that query index exists.

Signed-off-by: Surya Sashank Nistala snistala@amazon.com

…opulated

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
@eirsep eirsep requested a review from a team January 4, 2023 08:12
Copy link
Copy Markdown
Member

@getsaurabh02 getsaurabh02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why are we adding zips here

@eirsep eirsep closed this Jan 6, 2023
riysaxen-amzn pushed a commit to riysaxen-amzn/security-analytics that referenced this pull request Mar 25, 2024
…) (opensearch-project#342)

* Implemented support for LocalUriInput monitors.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Refactored feature naming convention from LocalUriInput to ClusterMetricsInput. Added Cluster Metrics as a new monitor type to align with frontend experience.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed ktlint errors.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Implemented randomClusterMetricsMonitor test helper, and refactored tests accordingly.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Renamed some assets to align with the new name for this feature.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Refactored cluster metrics feature to remove support for Cat repositories API.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Refactored supported JSON payload to return all response fields.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Refactored nodes stats request object to return all metrics.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Refactored nodes stats request object to return all metrics.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Removing unused connectionTimeout and socketTimeout params.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants