From dd69855a35d3dbb2e7a9c99d1db019b1feb6d008 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Fri, 10 Apr 2026 06:44:48 +0200 Subject: [PATCH] Fix test that relied on now removed profiling log line --- Duplicati/UnitTest/RestoreHandlerTests.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Duplicati/UnitTest/RestoreHandlerTests.cs b/Duplicati/UnitTest/RestoreHandlerTests.cs index 807e6e2d1..54840190d 100644 --- a/Duplicati/UnitTest/RestoreHandlerTests.cs +++ b/Duplicati/UnitTest/RestoreHandlerTests.cs @@ -220,7 +220,7 @@ namespace Duplicati.UnitTest [Test] [Category("RestoreHandler")] - public void RestoreInternalProfilingLogsCacheUsageAndDataFlow() + public void RestoreInternalProfilingLogsCacheUsage() { var sourceFilePath = Path.Combine(this.DATAFOLDER, "profiled-restore.bin"); File.WriteAllBytes(sourceFilePath, new byte[256 * 1024]); @@ -248,8 +248,6 @@ namespace Duplicati.UnitTest var logContents = File.ReadAllText(this.LOGFILE); Assert.That(logContents, Does.Contain("Max used cache size:")); - Assert.That(logContents, Does.Contain("Restore downloaded")); - Assert.That(logContents, Does.Contain("and restored")); } [Test]