Skip to content

Commit

Permalink
removed redundant test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
prasad-shirodkar committed Apr 17, 2024
1 parent fa49342 commit 261659f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions exporters/stdout/stdoutmetric/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@ func TestExporterShutdownIgnoresContextErrors(t *testing.T) {
}))
}

func TestExporterShutdown(t *testing.T) {
exporter, err := stdoutmetric.New(testEncoderOption())
assert.NoError(t, err)

assert.NoError(t, exporter.Shutdown(context.Background()))
}

func TestExporterForceFlush(t *testing.T) {
exporter, err := stdoutmetric.New(testEncoderOption())
assert.NoError(t, err)

assert.NoError(t, exporter.ForceFlush(context.Background()))
}

func TestShutdownExporterReturnsShutdownErrorOnExport(t *testing.T) {
var (
data = new(metricdata.ResourceMetrics)
Expand Down

0 comments on commit 261659f

Please sign in to comment.