Skip to content

Commit

Permalink
Fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl committed Sep 29, 2023
1 parent 69e0942 commit 6a2aea7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/0089-max_poll_interval.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ static void consume_cb(rd_kafka_message_t *rkmessage, void *opaque) {
/**
* @brief Test that max.poll.interval.ms is reset when
* rd_kafka_poll is called with consume_cb.
* Issue reported in https://github.com/confluentinc/librdkafka/issues/4421
* See issue #4421.
*/
static void do_test_max_poll_reset_with_consumer_cb(void) {
const char *topic = test_mk_topic_name("0089_max_poll_interval", 1);
Expand Down Expand Up @@ -491,7 +491,6 @@ static void do_test_max_poll_reset_with_consumer_cb(void) {

/* Poll should work */
rd_kafka_poll(rk, 10);
rd_kafka_event_destroy(event);
test_consumer_close(rk);
rd_kafka_destroy(rk);
}
Expand Down

0 comments on commit 6a2aea7

Please sign in to comment.