Add benchmark smoke tests based on Docker-Compose tests
The general procedure could be as follows:
export THEODOLITE_TAG=<tag>
cd $COMPOSE_FILE
docker-compose pull
docker-compose up -d kafka zookeeper
sleep 5s
docker-compose up -d schema-registry
sleep 5s
docker-compose up -d
sleep 5s
docker-compose ps
sleep 55s
if [[ $COMPOSE_FILE == *"uc1"* ]];
then
if [[ $COMPOSE_FILE == *"flink"* ]];
then
docker-compose logs benchmark-taskmanager
else
docker-compose logs benchmark
fi
else
docker-compose exec kafka kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic output --from-beginning --timeout-ms 5000
# Check against expected
fi
docker-compose down
Edited by Sören Henning