diff --git a/Duplicati/UnitTest/TestUtils.cs b/Duplicati/UnitTest/TestUtils.cs index b1828d5d9..af64aff14 100644 --- a/Duplicati/UnitTest/TestUtils.cs +++ b/Duplicati/UnitTest/TestUtils.cs @@ -247,7 +247,7 @@ namespace Duplicati.UnitTest //OSX seem to like to actually set the time to some value earlier than what you set by tens of milliseconds. //Reading the time right after it is set gives the expected value but when read later it is slightly different. //Maybe a bug in .net? - var granularity = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? 100 : 1; + var granularity = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? 500 : 1; Assert.That( SystemIO.IO_OS.GetLastWriteTimeUtc(actualFile), Is.EqualTo(SystemIO.IO_OS.GetLastWriteTimeUtc(expectedFile)).Within(granularity).Milliseconds,