Skip to content

Commit

Permalink
fixup! output/cloud/v2: Dedicated Sink implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed May 23, 2023
1 parent 9f14533 commit 9152f40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions output/cloud/expv2/output_test.go
Expand Up @@ -170,7 +170,7 @@ func TestOutputHandleFlushError(t *testing.T) {
testStopFunc: func(error) {
stopFuncCalled = true
},
stopSendingMetrics: make(chan struct{}),
stopMetricsCollection: make(chan struct{}),
}
o.config.StopOnError = null.BoolFrom(tc.abort)

Expand All @@ -182,7 +182,7 @@ func TestOutputHandleFlushError(t *testing.T) {

<-done
select {
case <-o.stopSendingMetrics:
case <-o.stopMetricsCollection:
stopMetricCollection = true
default:
}
Expand Down

0 comments on commit 9152f40

Please sign in to comment.