[OPENIDM-13918] Fix unstable tests under Delegated Admin using rest_utils library Created: 10/Oct/19  Updated: 27/Jan/20  Resolved: 20/Dec/19

Status: Closed
Project: OpenIDM
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0

Type: QA Task Priority: Major
Reporter: Alexander Dracka Assignee: Alexander Dracka
Resolution: Fixed Votes: 0
Labels: DIXON
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Target Version/s:
Verified Version/s:
Story Points: 4
Sprint: 2019.16 - IDM, 2019.17 - IDM

 Description   

In the DelegatedAdminLib library we are using requests library. Failure in this library is not invoking an Exception. So we cannot use wait_until_succeeds as this rely on the Exception. The solution would be use the rest_utils method which would throw an Exception in the case that request fails.
This would solve the random unstable failures in DA Suite
First do a POC and discussion with Garyl and IDM QA team



 Comments   
Comment by Alexander Dracka [ 20/Dec/19 ]

temporary fix in this PR: https://stash.forgerock.org/projects/QA/repos/pyforge/pull-requests/15972/overview

Generated at Tue Nov 24 00:56:20 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.