mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
enable route map printing for domain group testing
This commit is contained in:
@ -345,12 +345,12 @@ func Test_Router_DomainGroup(t *testing.T) {
|
||||
})
|
||||
})
|
||||
s.SetPort(p)
|
||||
s.SetDumpRouteMap(false)
|
||||
//s.SetDumpRouteMap(false)
|
||||
s.Start()
|
||||
defer s.Shutdown()
|
||||
gtest.Case(t, func() {
|
||||
client1 := ghttp.NewClient()
|
||||
client1.SetPrefix(fmt.Sprintf("http://localhost:%d", p))
|
||||
client1.SetPrefix(fmt.Sprintf("http://local:%d", p))
|
||||
|
||||
client2 := ghttp.NewClient()
|
||||
client2.SetPrefix(fmt.Sprintf("http://127.0.0.1:%d", p))
|
||||
|
||||
Reference in New Issue
Block a user