Skip to content

Commit

Permalink
local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveromahony committed Sep 7, 2023
1 parent e6bc358 commit 16638ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdk/agent/events/meta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ func TestNewAgentEventMeta(t *testing.T) {
assert.Equal(t, hostname, meta.hostname)
assert.Equal(t, systemUuid, meta.systemUuid)
assert.Equal(t, instanceGroup, meta.instanceGroup)
assert.Equal(t, tags, meta.tags)
assert.Equal(t, tags, meta.tagsRaw)
assert.Equal(t, strings.Join(tags, ","), meta.tags)
}

func TestGenerateAgentStartEventCommand(t *testing.T) {
Expand All @@ -45,7 +46,7 @@ func TestGenerateAgentStartEventCommand(t *testing.T) {
)

expectedActivityEvent := &eventsProto.ActivityEvent{
Message: fmt.Sprintf("%s %s started on %s with pid %s", "nginx-agent", "v2.0", "54321", "test-host"),
Message: fmt.Sprintf("%s %s started on %s with pid %s", "nginx-agent", "v2.0", "test-host", "54321"),
Dimensions: []*commonProto.Dimension{
{
Name: "system_id",
Expand Down

0 comments on commit 16638ae

Please sign in to comment.