Skip to content

Commit c1cf8f3

Browse files
committed
Null trace ID and parent before check
Signed-off-by: joshvanl <[email protected]>
1 parent c823324 commit c1cf8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/standalone/publish_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ func TestStandalonePublish(t *testing.T) {
9191
assert.Contains(t, output, "Event published successfully")
9292

9393
event := <-events
94+
event.TraceID = ""
95+
event.TraceParent = ""
9496
assert.Equal(t, &common.TopicEvent{
9597
ID: "3cc97064-edd1-49f4-b911-c959a7370e68",
9698
Source: "e2e_test",
@@ -103,8 +105,6 @@ func TestStandalonePublish(t *testing.T) {
103105
Data: map[string]interface{}{"dapr": "is_great"},
104106
RawData: []byte(`{"dapr":"is_great"}`),
105107
Metadata: make(map[string]string),
106-
TraceID: "00-00000000000000000000000000000000-0000000000000000-00",
107-
TraceParent: "00-00000000000000000000000000000000-0000000000000000-00",
108108
}, event)
109109
})
110110

0 commit comments

Comments
 (0)