-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.14.z] Eval CapsuleContent::API Assertion Errors, time delta/format in 'wait_for_sync()' #14413
Conversation
trigger: test-robottelo |
PRT Result
David- There is version specific (6.14.z only) |
trigger: test-robottelo |
PRT Result
|
change to sca-only orgs, entitlement orgs are failing assert capsule sync task(s) when invoked, and sync status pre-commit fix, refactor wait_for_sync() into concise steps
trigger: test-robottelo |
PRT Result
|
Parent pull request: #14066
Fixes to
capsule_mixins
methodwait_for_sync
, adjust conditionals and assertions toverify any recently invoked sync task(s). Record and pass a start timestamp in the tests calling this method.
Specific modifications for 6.14.z-
capsule_mixins.py::118-124
(link):After polling, when checking that the final active sync task's
end_time
is the same as capsule'slast_sync_time
,in 6.14.z,
capsule.content_get_sync()
does not return['last_sync_task']
info, yieldskeyError
.I instead now save the
ended_at
time from reading the final active task by:id
. Then assert the times match.PRT Case:
Demonstration (local):