AMBARI-8024. ambari-server unit test failures: "Index out of range" error. (Florian Barca via yusaku)