Commit 7b9a9a2
Modify validate_vnic_info function to support s390x (#3205)
##### Short description:
In s390x the test using this function is flaky right now because it
doesn't get always the value from the metric in the first call, added
sampler for it so it will be more robust and support s390x.
##### More details:
##### What this PR does / why we need it:
##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
##### jira-ticket:
https://issues.redhat.com/browse/CNV-75605
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Metric validation now uses a polling-and-retry approach (up to ~5
minutes, checking every ~30 seconds) to handle eventual consistency
instead of a single synchronous query.
* On timeout, the last observed sample is captured and surfaced to aid
debugging; existing mismatch comparison logic remains unchanged.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Harel Meir <hmeir@redhat.com>1 parent 9318ed7 commit 7b9a9a2
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
648 | 662 | | |
649 | 663 | | |
650 | 664 | | |
| |||
0 commit comments