[Server][DBClientTest] Change a way of getting HostInfoList.