deployment not deploy
All checks were successful
Ethereum Fixturenet Stack Test / Run Ethereum Fixturenet stack test (pull_request) Successful in 22m36s
All checks were successful
Ethereum Fixturenet Stack Test / Run Ethereum Fixturenet stack test (pull_request) Successful in 22m36s
This commit is contained in:
parent
01b0ece065
commit
e680402637
@ -69,7 +69,7 @@ initial_block_number=0
|
|||||||
while [ "$initial_block_number" -eq 0 ] && [ $elapsed_time -lt $timeout ]; do
|
while [ "$initial_block_number" -eq 0 ] && [ $elapsed_time -lt $timeout ]; do
|
||||||
sleep 10
|
sleep 10
|
||||||
log_info "Waiting for initial block..."
|
log_info "Waiting for initial block..."
|
||||||
initial_block_number=$($SO_COMMAND --stack ${stack_name} deploy exec foundry "cast block-number")
|
initial_block_number=$($SO_COMMAND deployment --dir $test_deployment_dir exec foundry "cast block-number")
|
||||||
current_time=$(date +%s)
|
current_time=$(date +%s)
|
||||||
elapsed_time=$((current_time - start_time))
|
elapsed_time=$((current_time - start_time))
|
||||||
done
|
done
|
||||||
@ -86,7 +86,7 @@ if [[ $initial_block_number -gt 0 ]]; then
|
|||||||
while [ "$subsequent_block_number" -le $((initial_block_number + 5)) ] && [ $elapsed_time -lt $timeout ]; do
|
while [ "$subsequent_block_number" -le $((initial_block_number + 5)) ] && [ $elapsed_time -lt $timeout ]; do
|
||||||
sleep 10
|
sleep 10
|
||||||
log_info "Waiting for five blocks or $timeout seconds..."
|
log_info "Waiting for five blocks or $timeout seconds..."
|
||||||
subsequent_block_number=$($SO_COMMAND --stack ${stack_name} deploy exec foundry "cast block-number")
|
subsequent_block_number=$($SO_COMMAND deployment --dir $test_deployment_dir exec foundry "cast block-number")
|
||||||
current_time=$(date +%s)
|
current_time=$(date +%s)
|
||||||
elapsed_time=$((current_time - start_time))
|
elapsed_time=$((current_time - start_time))
|
||||||
done
|
done
|
||||||
@ -106,7 +106,7 @@ if [[ $block_number_difference -gt 1 && $block_number_difference -lt 100 ]]; the
|
|||||||
else
|
else
|
||||||
echo "Test failed: block numbers were ${initial_block_number} and ${subsequent_block_number}"
|
echo "Test failed: block numbers were ${initial_block_number} and ${subsequent_block_number}"
|
||||||
echo "Logs from stack:"
|
echo "Logs from stack:"
|
||||||
$SO_COMMAND --stack ${stack_name} deploy logs
|
$SO_COMMAND deployment --dir $test_deployment_dir logs
|
||||||
test_result=1
|
test_result=1
|
||||||
fi
|
fi
|
||||||
$SO_COMMAND deployment --dir $test_deployment_dir stop --delete-volumes
|
$SO_COMMAND deployment --dir $test_deployment_dir stop --delete-volumes
|
||||||
|
Loading…
Reference in New Issue
Block a user