This is an automated email from the ASF dual-hosted git repository.

rsivaram pushed a commit to branch 2.4
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.4 by this push:
     new f8525f0  HOTFIX: Fix compilation error in DelayedFetchTest (#7680)
f8525f0 is described below

commit f8525f0ce0a30ed7f12cfc8e1d84a64d7f013a45
Author: Manikumar Reddy <[email protected]>
AuthorDate: Tue Nov 12 04:54:45 2019 +0530

    HOTFIX: Fix compilation error in DelayedFetchTest (#7680)
---
 core/src/test/scala/integration/kafka/server/DelayedFetchTest.scala | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/core/src/test/scala/integration/kafka/server/DelayedFetchTest.scala 
b/core/src/test/scala/integration/kafka/server/DelayedFetchTest.scala
index 806916f..8eb23f3 100644
--- a/core/src/test/scala/integration/kafka/server/DelayedFetchTest.scala
+++ b/core/src/test/scala/integration/kafka/server/DelayedFetchTest.scala
@@ -111,7 +111,6 @@ class DelayedFetchTest extends EasyMockSupport {
     EasyMock.expect(replicaManager.getPartitionOrException(topicPartition, 
expectLeader = true))
       .andThrow(new ReplicaNotAvailableException(s"Replica for $topicPartition 
not available"))
     expectReadFromReplicaWithError(replicaId, topicPartition, 
fetchStatus.fetchInfo, Errors.REPLICA_NOT_AVAILABLE)
-    EasyMock.expect(replicaManager.isAddingReplica(EasyMock.anyObject(), 
EasyMock.anyInt())).andReturn(false)
 
     replayAll()
 

Reply via email to