Fix failing subcloud prestage testcase due to timeout
The subcloud prestage testcase was failing due to timeout when the subcloud status remained in "prestaging" longer than expected. To fix this, the timeout has been increased and the check interval reduced, allowing enough time for the prestage operation to reach "complete" while checking status more frequently. Test Plan: PASS: Verify subcloud reaches "complete" state after prestage PASS: Verify testcase does not fail with timeout errors PASS: verify testcase passes Change-Id: Iddec7edcc632d7c24bb8e888e403b94978407f0e Signed-off-by: aabhinav <ayyapasetti.abhinav@windriver.com>
This commit is contained in:
@@ -45,8 +45,8 @@ class DcmanagerSubcloudPrestage(BaseKeyword):
|
||||
self,
|
||||
subcloud: str,
|
||||
prestaging_packages: bool = False,
|
||||
check_interval: int = 30,
|
||||
timeout: int = 120,
|
||||
check_interval: int = 10,
|
||||
timeout: int = 210,
|
||||
) -> None:
|
||||
"""
|
||||
Waits for the prestage verification to be completed.
|
||||
|
Reference in New Issue
Block a user