diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index a0c2fa12d2..01512bda51 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -513,6 +513,9 @@ Trunk (Unreleased)
HADOOP-12364. Deleting pid file after stop is causing the daemons to
keep restarting (Siqi Li via aw)
+ HADOOP-12515. Mockito dependency is missing in hadoop-kafka module.
+ (Kai Zheng via aajisaka)
+
OPTIMIZATIONS
HADOOP-7761. Improve the performance of raw comparisons. (todd)
diff --git a/hadoop-tools/hadoop-kafka/pom.xml b/hadoop-tools/hadoop-kafka/pom.xml
index 75405e10d5..b4788456d7 100644
--- a/hadoop-tools/hadoop-kafka/pom.xml
+++ b/hadoop-tools/hadoop-kafka/pom.xml
@@ -125,5 +125,10 @@
junit
test
+
+ org.mockito
+ mockito-all
+ test
+