From 3f0b2f3074d33a8d6ca3166991f1385f3d75620d Mon Sep 17 00:00:00 2001 From: yarongilor Date: Sun, 15 Sep 2024 16:21:40 +0300 Subject: [PATCH] fix(full scan thread): Added missing fetch-next-page to fetch_result_pages fetch_result_pages had a "while" loop where a call to result.fetch_next_page() is missing. Adding it back. Fixes: #8287 --- sdcm/scan_operation_thread.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdcm/scan_operation_thread.py b/sdcm/scan_operation_thread.py index 4507d59eaf..cc2203f6bb 100644 --- a/sdcm/scan_operation_thread.py +++ b/sdcm/scan_operation_thread.py @@ -188,6 +188,7 @@ def fetch_result_pages(self, result, read_pages): self.log.debug('Will fetch up to %s result pages..', read_pages) pages = 0 while result.has_more_pages and pages <= read_pages: + result.fetch_next_page() if read_pages > 0: pages += 1