diff --git a/Tests/Marketplace/search_and_install_packs.py b/Tests/Marketplace/search_and_install_packs.py index 0db1a20e2e1f..5ec3405caa85 100644 --- a/Tests/Marketplace/search_and_install_packs.py +++ b/Tests/Marketplace/search_and_install_packs.py @@ -339,6 +339,9 @@ def install_packs(client: demisto_client, sleep_interval (int): The sleep interval, in seconds, between install attempts. """ global SUCCESS_FLAG + if not packs_to_install: + logging.info("There are no packs to install on servers. Consolidating installation as success") + return SUCCESS_FLAG try: for attempt in range(attempts_count - 1, -1, -1): try: