fix plugins/input/ras test (#8350)
On some systems /tmp/test.db happens to exist which makes this test fail.
This commit is contained in:
parent
2f2e3d750c
commit
9be445c958
|
|
@ -114,7 +114,7 @@ func TestMultipleSockets(t *testing.T) {
|
||||||
func TestMissingDatabase(t *testing.T) {
|
func TestMissingDatabase(t *testing.T) {
|
||||||
var acc testutil.Accumulator
|
var acc testutil.Accumulator
|
||||||
ras := newRas()
|
ras := newRas()
|
||||||
ras.DBPath = "/tmp/test.db"
|
ras.DBPath = "/nonexistent/ras.db"
|
||||||
err := ras.Start(&acc)
|
err := ras.Start(&acc)
|
||||||
assert.Error(t, err)
|
assert.Error(t, err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue