Commit c3c4e3d5 authored by Benjamin Canou's avatar Benjamin Canou

Tests: fix injection test after headers update

parent dd484412
Pipeline #25039375 passed with stages
in 21 minutes 30 seconds
......@@ -31,7 +31,7 @@ done
sleep 2
# autogenerated from the demo source
protocol_version="PsoXmK2EEBAsbFy7XHr8xB34jmArfrJQMRniTVdUsrSVu2VtRsr"
protocol_version="PshuejubNkeGc5nU2xwF7uGzCdujcZY7ZV3duFfffmG4z5SoMAM"
$admin_client inject protocol "$test_dir/demo"
$admin_client list protocols
......
......@@ -242,7 +242,8 @@ assert_protocol() {
proto=$1
printf "\n\nAsserting protocol propagation\n"
for client in "${client_instances[@]}"; do
( $client -p ProtoGenesisG rpc get /chains/main/blocks/head/metadata | assert_in_output "\"next_protocol\": \"$proto\"" ) \
( $client -p Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P \
rpc get /chains/main/blocks/head/metadata | assert_in_output "\"next_protocol\": \"$proto\"" ) \
|| exit 2
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment