[
https://issues.apache.org/jira/browse/PHOENIX-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045717#comment-17045717
]
Josh Elser commented on PHOENIX-5699:
-------------------------------------
{quote}
According to my measurements MutableIndexSplitForwardScanIT used to run for
about 11 min 40 sec, now it is 2 minutes 40 sec (on my Computer).
We gain the same amount of time at MutableIndexSplitReverseScanIT.
This change reduces the test runtime by (around) 18 minutes.
{quote}
Thanks for digging into this, Richard! I'm curious because I see some pretty
drastically different results than you:
{noformat}
[INFO] Running org.apache.phoenix.end2end.index.MutableIndexSplitForwardScanIT
[INFO] Running org.apache.phoenix.end2end.index.MutableIndexSplitReverseScanIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.219 s
- in org.apache.phoenix.end2end.index.MutableIndexSplitForwardScanIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.193 s
- in org.apache.phoenix.end2end.index.MutableIndexSplitReverseScanIT
{noformat}
This was the test execution time for me running on commit
e1aee8e5d3fe335450db583f01cf91af1e6c5c7e with the command:
{noformat}
mvn clean verify -Dtest=foo
-Dit.test=MutableIndexSplitForwardScanIT,MutableIndexSplitReverseScanIT
-DfailIfNoTests=false
{noformat}
> Investigate reducing chore intervals in MiniCluster to speed up tests
> ---------------------------------------------------------------------
>
> Key: PHOENIX-5699
> URL: https://issues.apache.org/jira/browse/PHOENIX-5699
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Istvan Toth
> Priority: Major
> Attachments: PHOENIX-5699.master.v1.patch
>
>
> Some tests take a long time to run not because they are
> computationally/memory/IO intensive, but simply because they are waiting for
> some HBase chore to be run.
> One such test is MutableIndexSplitIT where we must wait for
> CompactedHFilesDischarger for the requested split to happen.
> Try to identify these cases, and reduce the chore intervals in the
> MiniCluster setup to speed upĀ test executions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)