Skip to content

Commit

Permalink
add cat to test
Browse files Browse the repository at this point in the history
Signed-off-by: Furkan Türkal <[email protected]>
  • Loading branch information
Dentrax committed Mar 4, 2024
1 parent 188cc0e commit b9d7a3b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions confluent-kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ update:
replace: "."
release-monitor:
identifier: 371656
# github:
# identifier: confluentinc/kafka
# use-tag: true
# strip-suffix: -ccs

test:
environment:
Expand All @@ -82,12 +78,15 @@ test:
"${KAFKA_DIR}/logs/zookeeper.err" < /dev/null &
ZOO_PID=$!
sleep 5
cat "${KAFKA_DIR}/logs/zookeeper.err"
cat "${KAFKA_DIR}/logs/zookeeper.out"
grep "Created server with tickTime" "${KAFKA_DIR}/logs/zookeeper.out" > /dev/null || { echo "Zookeeper log entry not found"; exit 1; }
echo "Starting Kafka..."
nohup "${KAFKA_DIR}/bin/kafka-server-start.sh" "${KAFKA_DIR}/config/server.properties" > "${KAFKA_DIR}/logs/kafka.out" 2> "${KAFKA_DIR}/logs/kafka.err" < /dev/null &
KAFKA_PID=$!
sleep 5
cat "${KAFKA_DIR}/logs/controller.log"
grep "Controller 0 connected" "${KAFKA_DIR}/logs/controller.log" > /dev/null || { echo "Kafka log entry not found"; exit 1; }
# Cleanup
Expand Down

0 comments on commit b9d7a3b

Please sign in to comment.