Skip to content

Commit

Permalink
Test 0119: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Oct 6, 2021
1 parent db7bff2 commit 077aaf6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/0119-consumer_auth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,6 @@
#include "testcpp.h"


namespace {
class DrCb : public RdKafka::DeliveryReportCb {
public:
DrCb (RdKafka::ErrorCode exp_err): cnt(0), exp_err(exp_err) {}

void dr_cb (RdKafka::Message &msg) {
Test::Say("Delivery report: " + RdKafka::err2str(msg.err()) + "\n");
if (msg.err() != exp_err)
Test::Fail("Delivery report: Expected " + RdKafka::err2str(exp_err) +
" but got " + RdKafka::err2str(msg.err()));
cnt++;
}

int cnt;
RdKafka::ErrorCode exp_err;
};
};

/**
* @brief Let FetchRequests fail with authorization failure.
*
Expand Down

0 comments on commit 077aaf6

Please sign in to comment.