Skip to content

Commit

Permalink
improve time to 2 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Jan 8, 2022
1 parent ba223ad commit 3b4d329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/metric/datadog/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func ExampleExporter() {
case <-timedOutChan:
_, _ = fmt.Fprintln(os.Stderr, "Server timed out waiting for packets")
return
case <-time.After(1 * time.Second):
case <-time.After(2 * time.Second):
fmt.Println("no data received after 1 second")
return
}
Expand Down

0 comments on commit 3b4d329

Please sign in to comment.