Skip to content

Commit

Permalink
Increase timeout to 2 minutes for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Jul 31, 2023
1 parent d2beb6b commit 2592e52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/NBTest/NBTest_903_FlashloanTokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion resources/NBTest/NBTest_904_Bancor3DataValidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion resources/NBTest/NBTest_905_RespectMinProfitClickParam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2592e52

Please sign in to comment.