liuxiaocs7 commented on code in PR #7887:
URL: https://github.com/apache/hbase/pull/7887#discussion_r2906473076


##########
hbase-endpoint/src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorEndpointTracing.java:
##########
@@ -98,18 +95,27 @@
 /**
  * Test cases to verify tracing coprocessor Endpoint execution
  */
-@Category({ CoprocessorTests.class, MediumTests.class })
+@Tag(CoprocessorTests.TAG)
+@Tag(MediumTests.TAG)
 public class TestCoprocessorEndpointTracing {
+
   private static final Logger logger =
     LoggerFactory.getLogger(TestCoprocessorEndpointTracing.class);
 
-  @ClassRule
-  public static final HBaseClassTestRule CLASS_RULE =
-    HBaseClassTestRule.forClass(TestCoprocessorEndpointTracing.class);
+  private static final TableName TEST_TABLE =
+    TableName.valueOf(TestCoprocessorEndpointTracing.class.getSimpleName());
+  private static final byte[] TEST_FAMILY = Bytes.toBytes("TestFamily");
+
+  private String testName;
+
+  @Order(1)
+  @RegisterExtension
+  private static final OpenTelemetryExtension otelExtension = 
OpenTelemetryExtension.create();
 
-  private static final OpenTelemetryClassRule otelClassRule = 
OpenTelemetryClassRule.create();
-  private static final MiniClusterRule miniclusterRule =
-    MiniClusterRule.newBuilder().setConfiguration(() -> {
+  @Order(2)
+  @RegisterExtension
+  private static final MiniClusterExtension miniClusterExtension =
+    MiniClusterExtension.newBuilder().setConfiguration(() -> {

Review Comment:
   We use `MiniClusterExtension` to replace `MiniClusterRule` here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to