Address review comments

This commit is contained in:
Alexander Neumann 2021-01-30 18:49:30 +01:00
parent 200f09522d
commit aef3658a5f
3 changed files with 6 additions and 7 deletions

View file

@ -24,7 +24,8 @@ func TestRcloneExit(t *testing.T) {
}
rtest.OK(t, err)
defer func() {
rtest.OK(t, be.Close())
// ignore the error as the test will kill rclone (see below)
_ = be.Close()
}()
err = be.cmd.Process.Kill()