diff options
author | Patrick Hilhorst <git@hilhorst.be> | 2022-01-20 19:58:42 +0100 |
---|---|---|
committer | Patrick Hilhorst <git@hilhorst.be> | 2022-01-20 19:58:42 +0100 |
commit | ffccc4c558bcf0739e8b8df9109753af4702041f (patch) | |
tree | 4de669e61843e8535556266c6143c2470d40173f /nixos/tests/quorum.nix | |
parent | a7c72013c8816f769f387c2e6d5ff76d801d145d (diff) | |
download | nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar.gz nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar.bz2 nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar.lz nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar.xz nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.tar.zst nixpkgs-ffccc4c558bcf0739e8b8df9109753af4702041f.zip |
nixosTests.quorum: use succeed everywhere
Diffstat (limited to 'nixos/tests/quorum.nix')
-rw-r--r-- | nixos/tests/quorum.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/quorum.nix b/nixos/tests/quorum.nix index 64c1c76e402..31669eb7fc3 100644 --- a/nixos/tests/quorum.nix +++ b/nixos/tests/quorum.nix @@ -87,14 +87,14 @@ in testScript = '' start_all() - machine.wait_until_succeeds("mkdir -p /var/lib/quorum/keystore") - machine.wait_until_succeeds( + machine.succeed("mkdir -p /var/lib/quorum/keystore") + machine.succeed( 'cp ${keystore-file} /var/lib/quorum/keystore/UTC--2020-03-23T11-08-34.144812212Z--${keystore.address}' ) - machine.wait_until_succeeds( + machine.succeed( "echo fe2725c4e8f7617764b845e8d939a65c664e7956eb47ed7d934573f16488efc1 > /var/lib/quorum/nodekey" ) - machine.wait_until_succeeds("systemctl restart quorum") + machine.succeed("systemctl restart quorum") machine.wait_for_unit("quorum.service") machine.sleep(15) machine.succeed('geth attach /var/lib/quorum/geth.ipc --exec "eth.accounts" | grep ${keystore.address}') |