[server][DBClientTest] Fix a bug that may redundantly return the same result in HostInfo query.