diff options
author | Staffan Olsson <staffan@repos.se> | 2017-10-16 10:51:12 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-10-16 10:55:24 +0200 |
commit | c902ca7c8e6cca886bbc3293032f32b4acef6323 (patch) | |
tree | 26a63b1e927f30ca41c48a4d9ecd4e2d5b9fc2ac | |
parent | 593a838cfc72e09ee3a9ed81bf5d8c7e46af93c5 (diff) | |
download | kubernetes-kafka-c902ca7c8e6cca886bbc3293032f32b4acef6323.tar.gz kubernetes-kafka-c902ca7c8e6cca886bbc3293032f32b4acef6323.tar.bz2 kubernetes-kafka-c902ca7c8e6cca886bbc3293032f32b4acef6323.zip |
Divides a couple of librdkafka timoeuts by 100
-rw-r--r-- | test/basic-with-kafkacat.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/basic-with-kafkacat.yml b/test/basic-with-kafkacat.yml index 15b740f..829f9a8 100644 --- a/test/basic-with-kafkacat.yml +++ b/test/basic-with-kafkacat.yml @@ -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 |