From e485ba752bf8cd464ae0a7865effe13dbf4a6e1e Mon Sep 17 00:00:00 2001 From: BlueBlock Date: Wed, 21 Aug 2019 12:18:56 -0400 Subject: [PATCH] purge test should now expect 1 and not 4 filesets For this test the last 3 of the 4 filesets are now partials that follow a full backup. So the count is 1 now instead of 4. --- Duplicati/UnitTest/PurgeTesting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/UnitTest/PurgeTesting.cs b/Duplicati/UnitTest/PurgeTesting.cs index a5e253e36..b0bb608af 100644 --- a/Duplicati/UnitTest/PurgeTesting.cs +++ b/Duplicati/UnitTest/PurgeTesting.cs @@ -156,7 +156,7 @@ namespace Duplicati.UnitTest Console.WriteLine("Files:"); Console.WriteLine(" " + string.Join(Environment.NewLine + " ", files.Select(x => string.Format("{0}: {1}", x.Path, string.Join(" - ", x.Sizes.Select(y => y.ToString())))))); - Assert.AreEqual(4, filesets.Length, "Incorrect number of filesets after final backup"); + Assert.AreEqual(1, filesets.Length, "Incorrect number of filesets after final backup"); Assert.AreEqual(filenames.Count + 1, filecount, "Incorrect number of files after final backup"); } }