Skip to content

Commit

Permalink
fix plugins/input/ras test (influxdata#8350)
Browse files Browse the repository at this point in the history
On some systems /tmp/test.db happens to exist which
makes this test fail.
  • Loading branch information
kaey authored Nov 2, 2020
1 parent e70cb8e commit 4d6c45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/ras/ras_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestMultipleSockets(t *testing.T) {
func TestMissingDatabase(t *testing.T) {
var acc testutil.Accumulator
ras := newRas()
ras.DBPath = "/tmp/test.db"
ras.DBPath = "/nonexistent/ras.db"
err := ras.Start(&acc)
assert.Error(t, err)
}
Expand Down

0 comments on commit 4d6c45f

Please sign in to comment.