Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Duplicati/UnitTest/DisruptionTests.cs')
-rw-r--r--Duplicati/UnitTest/DisruptionTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/UnitTest/DisruptionTests.cs b/Duplicati/UnitTest/DisruptionTests.cs
index abbded9d3..eaf10ffd8 100644
--- a/Duplicati/UnitTest/DisruptionTests.cs
+++ b/Duplicati/UnitTest/DisruptionTests.cs
@@ -515,7 +515,7 @@ namespace Duplicati.UnitTest
[Test]
[Category("Disruption")]
- public void StopNow()
+ public async Task StopNow()
{
// Choose a dblock size that is small enough so that more than one volume is needed.
Dictionary<string, string> options = new Dictionary<string, string>(this.TestOptions) {["dblock-size"] = "10mb", ["disable-synthetic-filelist"] = "true"};
@@ -541,7 +541,7 @@ namespace Duplicati.UnitTest
Thread.Sleep(1000);
c.Stop(false);
- Assert.That(async () => await backupTask.ConfigureAwait(false), Throws.Exception);
+ await backupTask.ConfigureAwait(false);
}
// The next backup should proceed without issues.