fix(traffic): match recorded hosts with port-aware search (#114)
This commit is contained in:
1 parent
f2589ad47c
commit
7c8b55ca6c
4 files changed
+124
-4
No files matched your search
@@ -246,6 +246,9 @@ func TestFindingWorkflowMigrationPreservesUserConfiguration(t *testing.T) {
|
||||
}
|
||||
search, _ := pg.GetTool("traffic_search")
|
||||
get, _ := pg.GetTool("traffic_get")
|
||||
if !strings.Contains(search.Description, "支持裸主机、主机:端口或完整 URL") {
|
||||
t.Fatal("traffic_search description migration missing host/port guidance")
|
||||
}
|
||||
if search.Enabled || !contains(search.Agents, "reporter") || get.Enabled || len(get.Agents) != 1 || get.Agents[0] != "custom-agent" {
|
||||
t.Fatal("default/custom reader binding migration incorrect")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user