From c4d1b9b4df040613a89824a80b5a51c8e17f5671 Mon Sep 17 00:00:00 2001 From: Shengwen Yu Date: Mon, 5 Feb 2024 17:08:48 +0800 Subject: [PATCH 1/2] update retry of get_scan_data_export_execution from 5 to 10 Signed-off-by: Shengwen Yu --- tests/apitests/python/test_scan_data_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/apitests/python/test_scan_data_export.py b/tests/apitests/python/test_scan_data_export.py index ad9fa249fe0..d2ffbdc181e 100644 --- a/tests/apitests/python/test_scan_data_export.py +++ b/tests/apitests/python/test_scan_data_export.py @@ -93,7 +93,7 @@ def testScanDataExportArtifact(self): # 10. Wait for the export scan data execution to succeed execution = None - for i in range(5): + for i in range(10): print("wait for the job to finish:", i) execution = self.scan_data_export.get_scan_data_export_execution(execution_id, **user_client) if execution.status == "Success": From 667ec9ecef4639a9f67114b8c63d395595b67bda Mon Sep 17 00:00:00 2001 From: Shengwen Yu Date: Mon, 5 Feb 2024 19:01:33 +0800 Subject: [PATCH 2/2] update retry of get_scan_data_export_execution to 15 Signed-off-by: Shengwen Yu --- tests/apitests/python/test_scan_data_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/apitests/python/test_scan_data_export.py b/tests/apitests/python/test_scan_data_export.py index d2ffbdc181e..d8d2ef9e537 100644 --- a/tests/apitests/python/test_scan_data_export.py +++ b/tests/apitests/python/test_scan_data_export.py @@ -93,7 +93,7 @@ def testScanDataExportArtifact(self): # 10. Wait for the export scan data execution to succeed execution = None - for i in range(10): + for i in range(15): print("wait for the job to finish:", i) execution = self.scan_data_export.get_scan_data_export_execution(execution_id, **user_client) if execution.status == "Success":