Skip to content

Commit fc5aa28

Browse files
committed
Fix Integration test
Signed-off-by: Dani Louca <[email protected]>
1 parent 00ee8c0 commit fc5aa28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/receivers/weaviate/weaviate_discovery_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333

3434
const (
3535
testDataDir = "testdata"
36-
nodeID = "5245ra617433bd"
36+
maskValue = "xyz"
3737
)
3838

3939
func TestWeaviateDockerObserver(t *testing.T) {
@@ -85,7 +85,8 @@ func TestWeaviateDockerObserver(t *testing.T) {
8585
pmetrictest.IgnoreMetricAttributeValue("service_version"),
8686
pmetrictest.IgnoreMetricAttributeValue("service_instance_id"),
8787
pmetrictest.IgnoreResourceAttributeValue("server.address"),
88-
pmetrictest.ChangeDatapointAttributeValue("nodeID", func(string) string { return nodeID }),
88+
pmetrictest.ChangeDatapointAttributeValue("nodeID", func(string) string { return maskValue }),
89+
pmetrictest.ChangeDatapointAttributeValue("goarch", func(string) string { return maskValue }),
8990
pmetrictest.IgnoreTimestamp(),
9091
pmetrictest.IgnoreStartTimestamp(),
9192
pmetrictest.IgnoreMetricDataPointsOrder(),

0 commit comments

Comments
 (0)