Commit 2db71f9c authored by zauberstuhl's avatar zauberstuhl
Browse files


parent 274b1501
Pipeline #2338 failed with stage
in 10 minutes and 21 seconds
......@@ -60,7 +60,21 @@ load '../test_helper'
@test "$PREFIX check the database on tp1 too" {
out=$(query tp1 "select count(*) from testtable;")
echo $out
echo $(get "http://$(container_ip tp2):3000/add@$(container_ip tp1):3000")
echo $(get "http://'$(container_ip tp1)':3000")
echo "$(container_ip postgres)"
echo "$(container_ip tp1)"
echo "$(container_ip tp2)"
cmd='query tp1 "select count(*) from testtable;"'
echo "# CMD: $(eval $cmd)" >&3
echo $(docker logs $(container_id tp1)) >&3
echo $(docker logs $(container_id tp2)) >&3
code=$(wait_for "$cmd" "1")
[ "$code" -eq "0" ]
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