Skip to content

Commit 8022154

Browse files
committed
[review-fix 3] Refresh generated Bazel metadata
- Add the Network Path state dependency required by collector tests. - Use the repository test rule for tagged model tests so generated BUILD metadata stays stable. Source: bazel:run-gazelle Validation: Bazel collector and model tests passed.
1 parent 47147ad commit 8022154

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

comp/networkpath/npcollector/impl/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ dd_agent_go_test(
9191
"//pkg/config/remote/data",
9292
"//pkg/config/structure",
9393
"//pkg/logs/message",
94+
"//pkg/networkpath/config",
9495
"//pkg/networkpath/payload",
9596
"//pkg/networkpath/traceroute/config",
9697
"//pkg/remoteconfig/state",

comp/networkpath/npcollector/model/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
load("@rules_go//go:def.bzl", "go_library", "go_test")
1+
load("@rules_go//go:def.bzl", "go_library")
2+
load("//bazel/rules/go:dd_agent_go_test.bzl", "dd_agent_go_test")
23

34
go_library(
45
name = "model",
@@ -8,7 +9,7 @@ go_library(
89
deps = ["@com_github_datadog_agent_payload_v5//process"],
910
)
1011

11-
go_test(
12+
dd_agent_go_test(
1213
name = "model_test",
1314
srcs = ["connection_test.go"],
1415
embed = [":model"],

0 commit comments

Comments
 (0)