diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88e81d7..35cc654 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -479,19 +479,22 @@ jobs: \"domain_models\": {} }""" > $GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json - # echo """{ - # \"rabbitmq-name\": \"rabbit\", - # \"rabbitmq-user\": \"${RABBITMQ_USER}\", - # \"rabbitmq-password\": \"${RABBITMQ_PASS}\", - # \"service-port\": ${RABBITMQ_PORT}, - # \"service-host\": \"${RABBITMQ_HOST}\", - # \"rabbitmq-vhost\": \"/\", - # \"rabbitmq-outbound-queue\": \"test-ci\", - # \"rabbitmq-exchange\": \"ams-fanout\", - # \"rabbitmq-routing-key\": \"training\" - # }""" > $GITHUB_WORKSPACE/rmq.json + echo """{ + \"rabbitmq-name\": \"rabbit\", + \"rabbitmq-user\": \"${RABBITMQ_USER}\", + \"rabbitmq-password\": \"${RABBITMQ_PASS}\", + \"service-port\": ${RABBITMQ_PORT}, + \"service-host\": \"${RABBITMQ_HOST}\", + \"rabbitmq-vhost\": \"/\", + \"rabbitmq-outbound-queue\": \"test-ci\", + \"rabbitmq-exchange\": \"ams-fanout\", + \"rabbitmq-routing-key\": \"training\" + }""" > $GITHUB_WORKSPACE/rmq.json + + python3 $GITHUB_WORKSPACE/tools/rmq/send_ams.py -c $GITHUB_WORKSPACE/rmq.json -r test3 -n 10 - AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 + AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 2 > output.txt 2>&1 + cat output.txt #ctest --output-on-failure -R AMSEndToEndFromJSON::NoModel::Double::DB::rmq::HOST env: