HOTFIX: fix unit tests for KAFKA-5136
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/94a35fd9 Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/94a35fd9 Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/94a35fd9 Branch: refs/heads/trunk Commit: 94a35fd93684ea5713777c6b4e1631642de5f377 Parents: 324b475 Author: Guozhang Wang <wangg...@gmail.com> Authored: Mon May 1 17:16:42 2017 -0700 Committer: Guozhang Wang <wangg...@gmail.com> Committed: Mon May 1 17:16:42 2017 -0700 ---------------------------------------------------------------------- core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/94a35fd9/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala b/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala index bca7bb0..5e91c9b 100644 --- a/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala +++ b/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala @@ -266,7 +266,7 @@ class RequestQuotaTest extends BaseRequestTest { new EndTxnRequest.Builder("txn1", 1, 0, TransactionResult.forId(false)) case ApiKeys.WRITE_TXN_MARKERS => - new WriteTxnMarkersRequest.Builder(0, List.empty.asJava) + new WriteTxnMarkersRequest.Builder(List.empty.asJava) case ApiKeys.TXN_OFFSET_COMMIT => new TxnOffsetCommitRequest.Builder("test-txn-group", 2, 0, 3600, Map.empty.asJava)