From 4e48b38b85944b8c1662ae25afe0fb5d96fe9bf6 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Mon, 19 Jan 2026 09:29:07 +0100 Subject: [PATCH] Backups may be happening too fast for the timestamps to be properly updated in the database --- Duplicati/UnitTest/RemoteSynchronizationModuleTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Duplicati/UnitTest/RemoteSynchronizationModuleTests.cs b/Duplicati/UnitTest/RemoteSynchronizationModuleTests.cs index 65afe62cf..45716bab5 100644 --- a/Duplicati/UnitTest/RemoteSynchronizationModuleTests.cs +++ b/Duplicati/UnitTest/RemoteSynchronizationModuleTests.cs @@ -31,6 +31,7 @@ using System.Linq; using Duplicati.Library.Main.Database; using Duplicati.Library.SQLiteHelper; using Assert = NUnit.Framework.Legacy.ClassicAssert; +using System.Threading.Tasks; namespace Duplicati.UnitTest { @@ -1182,6 +1183,7 @@ namespace Duplicati.UnitTest // First backup void Backup() { + Task.Delay(1000).Wait(); // Ensure timestamp difference between backups using var console = new CommandLine.ConsoleOutput(Console.Out, options); using var controller = new Controller("file://" + TARGETFOLDER, options, console); var result = controller.Backup([DATAFOLDER]);