Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
After commit 247ac8eee8ca604ca1616ba4bcf91fec6475ea88, the unit test suite run by mvn test started taking a very long time to run.
Prior to that commit, running the unit test suite would take around 15-20 seconds. After that commit and for every commit afterwards the unit tests appear to hang at the last test and take 1:45-2:00 to complete.
Addendum: looks like the culprit is org.apache.phoenix.hbase.index.balancer.TestIndexLoadBalancer. This class is run with the unit tests but it spins up and shuts down an HBase mini-cluster. Commenting out the body of the class fixes the performance issue. Seems like this should be an Integration Test, not a Unit Test. Was that the intention?