Skip to content

Commit

Permalink
fix: handle anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
kx9x authored Dec 3, 2023
1 parent f77e671 commit 4a07053
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions multisig_ci/run_brownie.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def run_brownie(args):
# Kill processes to make sure we start clean
kill_process_by_cmdline("ganache-cli")
kill_process_by_name("brownie")
kill_process_by_cmdline("anvil")

if os.path.exists(signal_file_path) and current_try_count == 0:
os.remove(signal_file_path)
Expand All @@ -40,6 +41,7 @@ def run_brownie(args):
print(f"alive signal not found, killing brownie and ganache. queuing try #{current_try_count}")
p.terminate()
kill_process_by_cmdline("ganache-cli")
kill_process_by_cmdline("anvil")
raise Exception()

print("found alive signal, waiting for process to complete")
Expand Down

0 comments on commit 4a07053

Please sign in to comment.