Skip to content

Commit c902ca7

Browse files
committed
Divides a couple of librdkafka timoeuts by 100
1 parent 593a838 commit c902ca7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/basic-with-kafkacat.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ data:
4545
fi
4646
4747
# get info about this message
48-
kafkacat -Q -b $BOOTSTRAP -t test-basic-with-kafkacat:0:$LAST_TS || \
49-
echo "At $(date +%FT%H:%M:%S.%3N) bootstrap broker might be down"
48+
kafkacat -Q -b $BOOTSTRAP -t test-basic-with-kafkacat:0:$LAST_TS \
49+
-X socket.timeout.ms=600 -X session.timeout.ms=300 -X request.timeout.ms=50 -X metadata.request.timeout.ms=600
50+
[ $? -eq 0 ] || echo "At $(date +%FT%H:%M:%S.%3N) bootstrap broker(s) might be down"
5051
# but don't fail the test; producer and consumer should keep going if there are other brokers
5152
5253
# We haven't asserted that the consumer works, so we'll just have to assume that it will exit if it fails

0 commit comments

Comments
 (0)