You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2023/08/18 01:35:00 UTC

[jira] [Resolved] (HBASE-28027) Make TestClusterScopeQuotaThrottle run faster

     [ https://issues.apache.org/jira/browse/HBASE-28027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang resolved HBASE-28027.
-------------------------------
    Fix Version/s: 2.6.0
                   2.4.18
                   2.5.6
                   3.0.0-beta-1
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to all active branches.

Thanks [~GeorryHuang] for reviewing!

> Make TestClusterScopeQuotaThrottle run faster
> ---------------------------------------------
>
>                 Key: HBASE-28027
>                 URL: https://issues.apache.org/jira/browse/HBASE-28027
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Quotas, test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1
>
>
> -The test always times out and it has several test methods.
> Let's split the test into several smaller tests, so we can find out which one is the criminal.-
> Finally I found that, the problem is we does not limit the operation timeout, just set the max retry number, but after some new improvements come in, sometimes we may get a 6 min sleep time and n doubt we will get a test timeout...
> I changed the test a bit to set operation timeout on the Table instance we use, so it will fail immediately when we hit the quota throttling, and now the tests could finish very soon.
> I think we could add another E2E tests to make sure that the refilling works as expected.



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