anchor.diff:  	#global_conf{server_port = 1117} = zfor_config:get_global_conf(State1),
   	{ok, UpdateTS,
   		#vhost_conf{hostnames = ["x.com"], select_method = fallback}} = zfor_config:get_vhost_conf(State1, "xx.com"),
  -	{ok, [{{?VHOST_CONFIG_PREFIX, "xx.com"}, UpdateTS, ExpVConf}]} = zfor_config:get_all_vhost_conf(State1).
  +	{ok, VHosts} = zfor_config:get_all_vhost_conf(State1),
  +	3 = length(VHosts),
  +	{
  +		{?VHOST_CONFIG_PREFIX, "xx.com"},
  +		UpdateTS,
  +		#vhost_conf{hostnames = ["x.com"], select_method = fallback}
  +	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "xx.com"}, 1, VHosts),
  +	{
  +		{?VHOST_CONFIG_PREFIX, "yy.com"},
  +		UpdateTS,
  +		#vhost_conf{hostnames = ["127.0.0.1", "127.0.0.2"], select_method = round_robin}
  +	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "yy.com"}, 1, VHosts),
  +	{
  +		{?VHOST_CONFIG_PREFIX, "zz.com"},
  +		UpdateTS,
  +		#vhost_conf{hostnames = ["192.168.212.169"], select_method = grp_all}
  +	} = lists:keyfind({?VHOST_CONFIG_PREFIX, "zz.com"}, 1, VHosts).
   
  
positive.code: 	file:write_file(
  		"/tmp/zfor_conf_test/b.conf",
  "
  {vhost,\"xx.com\",
  	[
  		{host,[\"x.com\"]},
  		{select_method,fallback}
  	]
  }.
  "
  
negative.code: "
  {global,
  	[
  		{server_port, 1117},
  		{host_list, \"testhl\", {fixed, [\"127.0.0.1\", \"127.0.0.2\"]}},
  		{host_list, \"testrm\", {confsrv, {\"getGroupData\",
  											\"com.taobao.uic.userinfo.UserReadService:1.0.0\",
  											\"HSF\",
  											\"192.168.207.111:8080\"}}}
  	]
  }.
  "
  