[test] Fix the build error due to the recent change of DBClientConfig::getDBAgent().