Once Glance finish the import operation(change image status
to active), it move the task to 'success' state but in between of
image become active and task is transitioning to 'success', tempest
try to check the task status and race condition happen.
Adding waiter method in test for task status check.
Reviewed: https:/ /review. opendev. org/c/openstack /tempest/ +/788856 /opendev. org/openstack/ tempest/ commit/ b15b58e964a61fd 580c506689c62e9 49a8f6956a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b15b58e964a61fd 580c506689c62e9 49a8f6956a
Author: Ghanshyam Mann <email address hidden>
Date: Thu Apr 29 19:45:29 2021 -0500
Add wait to check the import task status
Once Glance finish the import operation(change image status
to active), it move the task to 'success' state but in between of
image become active and task is transitioning to 'success', tempest
try to check the task status and race condition happen.
Adding waiter method in test for task status check.
Closes-Bug: #1926671 26eca33af830bc8 27f31cbeda6
Change-Id: I960b80314f1b09