[
https://issues.apache.org/jira/browse/HBASE-30163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18094832#comment-18094832
]
Duo Zhang commented on HBASE-30163:
-----------------------------------
In HBASE-30200 we fixed the test finder implementation, but the
assemblyForTesting profile missed launcher dependency, which leads to
{noformat}
Exception in thread "main" java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherDiscoveryRequestBuilder
at
org.apache.hadoop.hbase.IntegrationTestsDriver.runTests(IntegrationTestsDriver.java:110)
at
org.apache.hadoop.hbase.IntegrationTestsDriver.doWork(IntegrationTestsDriver.java:130)
at
org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:150)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97)
at
org.apache.hadoop.hbase.IntegrationTestsDriver.main(IntegrationTestsDriver.java:52)
Caused by: java.lang.ClassNotFoundException:
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 6 more
{noformat}
> IntegrationTestsDriver is broken after we upgrade hbase-it to junit5
> --------------------------------------------------------------------
>
> Key: HBASE-30163
> URL: https://issues.apache.org/jira/browse/HBASE-30163
> Project: HBase
> Issue Type: Bug
> Components: integration tests, test
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
>
> It uses ClassTestFinder to filter out tests with IntegrationTests category or
> tag but in ClassTestFinder, we only look for Category annotation, without Tag
> annotation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)