Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
NameHaibinZhang committed Nov 14, 2024
1 parent 1c84642 commit 3f1e143
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/unittest/metadata/K8sMetadataUnittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ class k8sMetadataUnittest : public ::testing::Test {
const std::string jsonData = R"({
"10.41.0.2": {
"k8s.namespace.name": "kube-system",
"workloadName": "coredns-7b669cbb96",
"workloadKind": "replicaset",
"workload.name": "coredns-7b669cbb96",
"workload.kind": "replicaset",
"service.name": "",
"k8s.pod.label": {
"k8s-app": "kube-dns",
Expand All @@ -315,8 +315,8 @@ class k8sMetadataUnittest : public ::testing::Test {
},
"10.41.0.3": {
"k8s.namespace.name": "kube-system",
"workloadName": "csi-provisioner-8bd988c55",
"workloadKind": "replicaset",
"workload.name": "csi-provisioner-8bd988c55",
"workload.kind": "replicaset",
"service.name": "",
"k8s.pod.label": {
"app": "csi-provisioner",
Expand All @@ -342,8 +342,8 @@ class k8sMetadataUnittest : public ::testing::Test {
},
"172.16.20.108": {
"k8s.namespace.name": "kube-system",
"workloadName": "kube-proxy-worker",
"workloadKind": "daemonset",
"workload.name": "kube-proxy-worker",
"workload.kind": "daemonset",
"service.name": "",
"k8s.pod.label": {
"controller-revision-hash": "756748b889",
Expand Down

0 comments on commit 3f1e143

Please sign in to comment.