From 1bbd4180131dbb45c59c441c14ce596a9037e0a0 Mon Sep 17 00:00:00 2001 From: David Houston Date: Thu, 20 Jan 2022 11:35:23 -0500 Subject: [PATCH] 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. --- nixos/tests/quorum.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/quorum.nix b/nixos/tests/quorum.nix index 498b55ace7af..ed659f54bf48 100644 --- a/nixos/tests/quorum.nix +++ b/nixos/tests/quorum.nix @@ -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') ''; })