tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixosTests.quorum: use succeed everywhere
Patrick Hilhorst
4 years ago
ffccc4c5
a7c72013
+4
-4
1 changed file
expand all
collapse all
unified
split
nixos
tests
quorum.nix
+4
-4
nixos/tests/quorum.nix
···
87
87
88
88
testScript = ''
89
89
start_all()
90
90
-
machine.wait_until_succeeds("mkdir -p /var/lib/quorum/keystore")
91
91
-
machine.wait_until_succeeds(
90
90
+
machine.succeed("mkdir -p /var/lib/quorum/keystore")
91
91
+
machine.succeed(
92
92
'cp ${keystore-file} /var/lib/quorum/keystore/UTC--2020-03-23T11-08-34.144812212Z--${keystore.address}'
93
93
)
94
94
-
machine.wait_until_succeeds(
94
94
+
machine.succeed(
95
95
"echo fe2725c4e8f7617764b845e8d939a65c664e7956eb47ed7d934573f16488efc1 > /var/lib/quorum/nodekey"
96
96
)
97
97
-
machine.wait_until_succeeds("systemctl restart quorum")
97
97
+
machine.succeed("systemctl restart quorum")
98
98
machine.wait_for_unit("quorum.service")
99
99
machine.sleep(15)
100
100
machine.succeed('geth attach /var/lib/quorum/geth.ipc --exec "eth.accounts" | grep ${keystore.address}')