RedHatQE / openshift-python-utilities

Openshift python utilities
Apache License 2.0
0 stars 23 forks source link

wait_for_firing_alert_sampler(..) to honor timeout #324

Closed stesrn closed 7 months ago

stesrn commented 7 months ago
Short description:

The method _monitoring.wait_for_firing_alertsampler() doesn't honor timeout, when the timeout value is a different custom value other than 10 minutes. Because of this behavior, few observability test cases that makes use of this method with custom timeout values like 15 mins fails as the method could only wait for maximum of 10 minutes

Now this issue is fixed by passing the custom timeout value to the other method that it calls.

More details:

Fixes a simple issue

What this PR does / why we need it:

Now the method passes the timeout value to the other method that it calls

Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:
redhat-qe-bot commented 7 months ago

Report bugs in Issues

The following are automatically added:

Available user actions:

Supported /retest check runs * `/retest python-module-install`: Retest python-module-install
Supported labels * hold * verified * wip * lgtm
sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

stesrn commented 7 months ago

/verified