diff --git a/energy-tests/nextcloud_create_event.py b/energy-tests/nextcloud_create_event.py index 4b263d20..52164ab5 100644 --- a/energy-tests/nextcloud_create_event.py +++ b/energy-tests/nextcloud_create_event.py @@ -60,7 +60,7 @@ def run(playwright: Playwright, browser_name: str) -> None: # set a timeout. Since the call to page.content() is blocking we need to defer it to the OS signal.signal(signal.SIGALRM, timeout_handler) - signal.alarm(5) + signal.alarm(20) log_note(f"Page content was: {page.content()}") signal.alarm(0) # remove timeout signal diff --git a/energy-tests/nextcloud_create_user.py b/energy-tests/nextcloud_create_user.py index c8f2bdf8..bb29a058 100644 --- a/energy-tests/nextcloud_create_user.py +++ b/energy-tests/nextcloud_create_user.py @@ -59,7 +59,7 @@ def create_user(playwright: Playwright, browser_name: str, username: str, passwo # set a timeout. Since the call to page.content() is blocking we need to defer it to the OS signal.signal(signal.SIGALRM, timeout_handler) - signal.alarm(5) + signal.alarm(20) log_note(f"Page content was: {page.content()}") signal.alarm(0) # remove timeout signal diff --git a/energy-tests/nextcloud_install.py b/energy-tests/nextcloud_install.py index 3a32435f..8e439905 100644 --- a/energy-tests/nextcloud_install.py +++ b/energy-tests/nextcloud_install.py @@ -14,7 +14,7 @@ def main(browser_name: str = "chromium"): with sync_playwright() as playwright: log_note(f"Launch browser {browser_name}") signal.signal(signal.SIGALRM, timeout_handler) - signal.alarm(5) + signal.alarm(10) if browser_name == "firefox": browser = playwright.firefox.launch(headless=True) else: @@ -51,7 +51,7 @@ def main(browser_name: str = "chromium"): # set a timeout. Since the call to page.content() is blocking we need to defer it to the OS signal.signal(signal.SIGALRM, timeout_handler) - signal.alarm(5) + signal.alarm(20) log_note(f"Page content was: {page.content()}") signal.alarm(0) # remove timeout signal diff --git a/energy-tests/nextcloud_talk.py b/energy-tests/nextcloud_talk.py index 2f97cfed..91238e80 100644 --- a/energy-tests/nextcloud_talk.py +++ b/energy-tests/nextcloud_talk.py @@ -91,7 +91,7 @@ def create_conversation(playwright: Playwright, browser_name: str) -> str: # set a timeout. Since the call to page.content() is blocking we need to defer it to the OS signal.signal(signal.SIGALRM, timeout_handler) - signal.alarm(5) + signal.alarm(20) log_note(f"Page content was: {page.content()}") signal.alarm(0) # remove timeout signal