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:
Konstantin Kulikov 2020-11-02 18:17:54 +03:00 committed by GitHub
parent 2f2e3d750c
commit 9be445c958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}