Skip to content

Commit

Permalink
test: add test sample test-ipv6.com
Browse files Browse the repository at this point in the history
  • Loading branch information
mzz2017 committed Dec 30, 2023
1 parent 1e11afe commit d4ae009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions component/routing/domain_matcher/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ var TestSample = []string{
"spdb.com.cn",
"whccb.com",
"_https._tcp.mirrors.ustc.edu.cn",
"ipv4.master.test-ipv6.com",
}

type RoutingMatcherBuilder struct {
Expand Down Expand Up @@ -134,6 +135,7 @@ func getDomain() (simulatedDomainSet []routing.DomainSet, err error) {
var rules []*config_parser.RoutingRule
sections, err := config_parser.Parse(`
routing {
domain(suffix: test-ipv6.com)->direct
domain(geosite:bing)->us
domain(_https._tcp.mirrors.ustc.edu.cn)->us
domain(full:dns.google.com) -> direct
Expand Down

0 comments on commit d4ae009

Please sign in to comment.