We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad760e1 commit cd97820Copy full SHA for cd97820
1 file changed
test.bats
@@ -15,21 +15,32 @@ get_second_block_id() {
15
}
16
17
@test "celestia-appd is producing blocks" {
18
+ok="false"
19
for i in {1..30}; do
20
run get_second_block_id
21
if [ $status == 0 ]; then
22
+ ok="true"
23
break
24
fi
25
sleep 1
26
done
27
+$($ok)
28
29
30
+get_head_proposer_address() {
31
+ curl -s http://127.0.0.1:26659/head | grep proposer_address
32
+}
33
+
34
35
@test "celestia-node is processing blocks" {
36
37
- run curl -s GET http://127.0.0.1:26659/head 2>&1
38
+ run get_head_proposer_address
39
40
41
42
43
44
45
46
0 commit comments