Skip to content

Commit 39b6b99

Browse files
committed
fix tests
1 parent 701779e commit 39b6b99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/nri-flex/nri-flex_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ func TestConfigDir(t *testing.T) {
5858
r := fintegration.GetTestRuntime()
5959
fintegration.RunFlex(r)
6060
expectedSamples := []string{
61-
`{"event_type":"flexStatusSample","flex.IntegrationVersion":"Unknown-SNAPSHOT","flex.counter.ConfigsProcessed":3,` +
62-
`"flex.counter.EventCount":3,"flex.counter.EventDropCount":0,"flex.counter.MessageSample":2,"flex.counter.commandJsonOutSample":1}`,
61+
`{"event_type":"flexStatusSample","flex.IntegrationVersion":"Unknown-SNAPSHOT","flex.counter.ConfigsProcessed":6,` +
62+
`"flex.counter.EventCount":6,"flex.counter.EventDropCount":0,"flex.counter.MessageSample":2,` +
63+
`"flex.counter.MessageLegacySample":2,"flex.counter.commandJsonOutSample":2}`,
6364
`{"error":"true","event_type":"MessageSample","message":"bye","value":20.9}`,
6465
`{"error":"false","event_type":"MessageSample","message":"hello","value":100}`,
6566
`{"error":"true","event_type":"MessageLegacySample","integration_name": "com.newrelic.nri-flex",` +

0 commit comments

Comments
 (0)