KUDU-3216 fix flakiness in LeadershipChangeOnTskGeneration

Before this patch, the LeadershipChangeOnTskGeneration scenario from
CatalogManagerTskITest would fail once in about 50 runs, DEBUG build.

With this patch, the test scenario hasn't had a single failure in
about 300 runs, DEBUG build.

Change-Id: I139e46627206fc13490ca405bb62dc29934dc4be
Reviewed-on: http://gerrit.cloudera.org:8080/21397
Reviewed-by: Wang Xixu <1450306854@qq.com>
Reviewed-by: Attila Bukor <abukor@apache.org>
Tested-by: Attila Bukor <abukor@apache.org>
1 file changed