Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.90.1
-
None
-
None
-
Reviewed
Description
While trying TestAdmin in the scope of HBASE-3650, I saw that it takes a lot more time to run than it used to. Upon inspection I see that there's 2 hardcoded 1 second sleeps in DisableTableHandler and EnableTableHandler in waitUntilDone (which is almost the same code in both cases too). Setting that down to 50ms dropped the run time in half... and I'm sure there's a few other sleeps that we could get rid of.
I think that at least those 1sec should be configurable so that we can tune them down in the tests, but I wonder if we need them at all.