nixos/quorum: Patch test to not run indefinitely
As written, the nixos/quorum module will simply run forever, and has been timing out in Hydra. Implement a fix for such by changing the final statement from a wait_until_succeeds to simply succeed, forcing the test to succeed or fail instead of run indefinitely.
This commit is contained in:
parent
8bfa76f8a3
commit
1bbd418013
|
@ -72,8 +72,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
machine.wait_until_succeeds("systemctl restart quorum")
|
||||
machine.wait_for_unit("quorum.service")
|
||||
machine.sleep(15)
|
||||
machine.wait_until_succeeds(
|
||||
'geth attach /var/lib/quorum/geth.ipc --exec "eth.accounts" | grep 0x9377bc3936de934c497e22917b81aa8774ac3bb0'
|
||||
)
|
||||
machine.succeed('geth attach /var/lib/quorum/geth.ipc --exec "eth.accounts" | grep 0x9377bc3936de934c497e22917b81aa8774ac3bb0')
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue