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:
David Houston 2022-01-20 11:35:23 -05:00
parent 8bfa76f8a3
commit 1bbd418013
No known key found for this signature in database
GPG key ID: 5960278CE235F821

View file

@ -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')
'';
})