Duo Zhang created HBASE-27360:
---------------------------------

             Summary: The trace related assertion is flaky for async client 
tests
                 Key: HBASE-27360
                 URL: https://issues.apache.org/jira/browse/HBASE-27360
             Project: HBase
          Issue Type: Bug
            Reporter: Duo Zhang
            Assignee: Duo Zhang


https://ci-hbase.apache.org/job/HBase-Flaky-Tests/job/master/4167/testReport/junit/org.apache.hadoop.hbase.client/TestAsyncTableScanner/testScanWrongColumnFamily_0__table_raw__scan_normal_/

The failure message is kinda unreadable... I guess the problem is we do not 
wait enough time as the completion of the span can be executed concurrently 
with normal scan operation.

And also I saw this in the test code

{code}
    // RawAsyncTableImpl never invokes the callback to `onScanMetricsCreated` 
-- bug?
{code}

This is not a bug as you need to manually enable scan metrics by calling 
Scan.setScanMetricsEnabled(true).

Let me also fix this.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to