Skip to content

Commit de0a93a

Browse files
committed
HBASE-30163 IntegrationTestsDriver is broken after we upgrade hbase-it to junit5 (#8463)
Signed-off-by: Xiao Liu <liuxiaocs@apache.org> Signed-off-by: Peng Lu <lupeng@apache.org> (cherry picked from commit 9f59449)
1 parent 2da2f60 commit de0a93a

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

hbase-assembly/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,11 @@
402402
<artifactId>junit-jupiter-params</artifactId>
403403
<scope>compile</scope>
404404
</dependency>
405+
<dependency>
406+
<groupId>org.junit.platform</groupId>
407+
<artifactId>junit-platform-launcher</artifactId>
408+
<scope>compile</scope>
409+
</dependency>
405410
<dependency>
406411
<groupId>org.hamcrest</groupId>
407412
<artifactId>hamcrest</artifactId>

hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestsDriver.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
import org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine;
3939

4040
/**
41-
* This class drives the Integration test suite execution. Executes all tests
42-
* having @Category(IntegrationTests.class) annotation against an already deployed distributed
43-
* cluster.
41+
* This class drives the Integration test suite execution. Executes all tests having
42+
*
43+
* <pre>
44+
* &#64;Tag(IntegrationTests.TAG)
45+
* </pre>
46+
*
47+
* annotation against an already deployed distributed cluster.
4448
*/
4549
public class IntegrationTestsDriver extends AbstractHBaseTool {
4650
private static final String SHORT_REGEX_ARG = "r";

0 commit comments

Comments
 (0)