mirror of https://github.com/goharbor/harbor.git
update retry of get_scan_data_export_execution from 5 to 15 (#19958)
* update retry of get_scan_data_export_execution from 5 to 10 Signed-off-by: Shengwen Yu <yshengwen@vmware.com> * update retry of get_scan_data_export_execution to 15 Signed-off-by: Shengwen Yu <yshengwen@vmware.com> --------- Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
This commit is contained in:
parent
dfb317bb55
commit
a79c5da4d9
|
@ -93,7 +93,7 @@ class TestScanDataExport(unittest.TestCase):
|
||||||
|
|
||||||
# 10. Wait for the export scan data execution to succeed
|
# 10. Wait for the export scan data execution to succeed
|
||||||
execution = None
|
execution = None
|
||||||
for i in range(5):
|
for i in range(15):
|
||||||
print("wait for the job to finish:", i)
|
print("wait for the job to finish:", i)
|
||||||
execution = self.scan_data_export.get_scan_data_export_execution(execution_id, **user_client)
|
execution = self.scan_data_export.get_scan_data_export_execution(execution_id, **user_client)
|
||||||
if execution.status == "Success":
|
if execution.status == "Success":
|
||||||
|
|
Loading…
Reference in New Issue