New: Only scan files that are new or updated (#760)

* New: Only scan files that are new or updated

Pass through filter correctly

Add more tests

Add tests for migration 30

* Fix windows disk provider

* Don't publish deleted event for unmapped file

* Fix test on windows
This commit is contained in:
ta264
2019-06-08 20:13:58 +01:00
committed by Qstick
parent 8fe8aec97c
commit 166fc90454
95 changed files with 1590 additions and 723 deletions
@@ -119,11 +119,11 @@ namespace NzbDrone.Core.Test.Instrumentation
public void null_string_as_arg_should_not_fail()
{
var epFile = new TrackFile();
_logger.Debug("File {0} no longer exists on disk. removing from database.", epFile.RelativePath);
_logger.Debug("File {0} no longer exists on disk. removing from database.", epFile.Path);
Thread.Sleep(600);
epFile.RelativePath.Should().BeNull();
epFile.Path.Should().BeNull();
}