From e7d2f4f617dcdbb02cdfd20cfff2165665a22472 Mon Sep 17 00:00:00 2001 From: Mike Casale <46603283+mikewcasale@users.noreply.github.com> Date: Mon, 31 Jul 2023 09:05:02 -0700 Subject: [PATCH] Update test timeout --- resources/NBTest/NBTest_903_FlashloanTokens.py | 2 +- resources/NBTest/NBTest_904_Bancor3DataValidation.py | 2 +- resources/NBTest/NBTest_905_RespectMinProfitClickParam.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/NBTest/NBTest_903_FlashloanTokens.py b/resources/NBTest/NBTest_903_FlashloanTokens.py index c3f7b740b..fe98a6659 100644 --- a/resources/NBTest/NBTest_903_FlashloanTokens.py +++ b/resources/NBTest/NBTest_903_FlashloanTokens.py @@ -83,7 +83,7 @@ def run_command(mode): # Wait for the expected log line to appear expected_log_line = "limiting flashloan_tokens to [" found = False - result = subprocess.run(cmd, text=True, capture_output=True, check=True) + result = subprocess.run(cmd, text=True, capture_output=True, check=True, timeout=120) # Check if the expected log line is in the output if expected_log_line in result.stderr: diff --git a/resources/NBTest/NBTest_904_Bancor3DataValidation.py b/resources/NBTest/NBTest_904_Bancor3DataValidation.py index cb0dee142..b1c10e073 100644 --- a/resources/NBTest/NBTest_904_Bancor3DataValidation.py +++ b/resources/NBTest/NBTest_904_Bancor3DataValidation.py @@ -79,7 +79,7 @@ def run_command(arb_mode, expected_log_line): # Wait for the expected log line to appear found = False - result = subprocess.run(cmd, text=True, capture_output=True, check=True, timeout=60) + result = subprocess.run(cmd, text=True, capture_output=True, check=True, timeout=120) # Check if the expected log line is in the output if expected_log_line in result.stderr: diff --git a/resources/NBTest/NBTest_905_RespectMinProfitClickParam.py b/resources/NBTest/NBTest_905_RespectMinProfitClickParam.py index 489abc1fe..f733b94b7 100644 --- a/resources/NBTest/NBTest_905_RespectMinProfitClickParam.py +++ b/resources/NBTest/NBTest_905_RespectMinProfitClickParam.py @@ -80,7 +80,7 @@ def run_command(arb_mode, expected_log_line): # Wait for the expected log line to appear found = False - result = subprocess.run(cmd, text=True, capture_output=True, check=True, timeout=60) + result = subprocess.run(cmd, text=True, capture_output=True, check=True, timeout=120) # Check if the expected log line is in the output if expected_log_line in result.stderr or expected_log_line in result.stdout: