Skip to content

Commit

Permalink
Divides a couple of librdkafka timoeuts by 100
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Oct 16, 2017
1 parent 593a838 commit c902ca7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/basic-with-kafkacat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ data:
fi
# get info about this message
kafkacat -Q -b $BOOTSTRAP -t test-basic-with-kafkacat:0:$LAST_TS || \
echo "At $(date +%FT%H:%M:%S.%3N) bootstrap broker might be down"
kafkacat -Q -b $BOOTSTRAP -t test-basic-with-kafkacat:0:$LAST_TS \
-X socket.timeout.ms=600 -X session.timeout.ms=300 -X request.timeout.ms=50 -X metadata.request.timeout.ms=600
[ $? -eq 0 ] || echo "At $(date +%FT%H:%M:%S.%3N) bootstrap broker(s) might be down"
# but don't fail the test; producer and consumer should keep going if there are other brokers
# We haven't asserted that the consumer works, so we'll just have to assume that it will exit if it fails
Expand Down

0 comments on commit c902ca7

Please sign in to comment.