Skip to content

Commit

Permalink
chore(input.disk): Update disk io unit test (influxdata#15950)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxianfu committed Sep 30, 2024
1 parent 6bc4317 commit 2a70108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/diskio/diskio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func TestDiskIO_util(t *testing.T) {
require.NoError(t, diskio.Init())
// gather
err := diskio.Gather(&acc)
require.Equal(t, nil, err)
require.NoError(t, err)
// sleep
time.Sleep(10 * time.Second)
// gather twice
Expand Down

0 comments on commit 2a70108

Please sign in to comment.