Browse Source

remove geosite test case due to inconsistant data. fixes #1557

Darien Raymond 6 years ago
parent
commit
81ce61c243
1 changed files with 0 additions and 11 deletions
  1. 0 11
      infra/conf/dns_test.go

+ 0 - 11
infra/conf/dns_test.go

@@ -48,7 +48,6 @@ func TestDnsConfigParsing(t *testing.T) {
 				}],
 				}],
 				"hosts": {
 				"hosts": {
 					"v2ray.com": "127.0.0.1",
 					"v2ray.com": "127.0.0.1",
-					"geosite:tld-cn": "10.0.0.1",
 					"domain:example.com": "google.com"
 					"domain:example.com": "google.com"
 				},
 				},
 				"clientIp": "10.0.0.1"
 				"clientIp": "10.0.0.1"
@@ -81,16 +80,6 @@ func TestDnsConfigParsing(t *testing.T) {
 						ProxiedDomain: "google.com",
 						ProxiedDomain: "google.com",
 					},
 					},
 					{
 					{
-						Type:   dns.DomainMatchingType_Subdomain,
-						Domain: "cn",
-						Ip:     [][]byte{{10, 0, 0, 1}},
-					},
-					{
-						Type:   dns.DomainMatchingType_Subdomain,
-						Domain: "xn--fiqs8s",
-						Ip:     [][]byte{{10, 0, 0, 1}},
-					},
-					{
 						Type:   dns.DomainMatchingType_Full,
 						Type:   dns.DomainMatchingType_Full,
 						Domain: "v2ray.com",
 						Domain: "v2ray.com",
 						Ip:     [][]byte{{127, 0, 0, 1}},
 						Ip:     [][]byte{{127, 0, 0, 1}},