Skip to content

Commit

Permalink
fix failed unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
  • Loading branch information
fatsheep9146 committed Jun 19, 2022
1 parent f4fbf29 commit 130bc28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exporter/awsemfexporter/emf_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ func TestNewExporterWithMetricDeclarations(t *testing.T) {
exp, err := newEmfPusher(expCfg, params)
assert.Nil(t, err)
assert.NotNil(t, exp)
err = expCfg.Validate()
assert.Nil(t, err)

emfExporter := exp.(*emfExporter)
config := emfExporter.config.(*Config)
Expand Down

0 comments on commit 130bc28

Please sign in to comment.