From adab3a22aab348f90fd53fafecf8f9296433e321 Mon Sep 17 00:00:00 2001
From: Takanobu Asanuma <tasanuma@apache.org>
Date: Thu, 21 Mar 2024 14:53:02 +0900
Subject: [PATCH] HDFS-17432. Fix junit dependency to enable JUnit4 tests to
 run in hadoop-hdfs-rbf (#6639)

Reviewed-by: Dinesh Chitlangia <dineshc@apache.org>
---
 hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
index 118bdcf9dd626..98c21e51ce5e3 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
@@ -182,6 +182,11 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
       <artifactId>junit-jupiter-engine</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>