Don't delete logs after test

This commit is contained in:
Thomas Suckow
2022-03-13 10:22:32 -07:00
parent dfd210125e
commit 20214f6c00
+4 -4
View File
@@ -104,6 +104,10 @@ namespace Duplicati.UnitTest
systemIO.DirectoryCreate(this.DATAFOLDER);
systemIO.DirectoryCreate(this.TARGETFOLDER);
systemIO.DirectoryCreate(this.RESTOREFOLDER);
if (systemIO.FileExists(this.LOGFILE))
{
systemIO.FileDelete(this.LOGFILE);
}
}
[TearDown]
@@ -121,10 +125,6 @@ namespace Duplicati.UnitTest
{
systemIO.DirectoryDelete(this.RESTOREFOLDER, true);
}
if (systemIO.FileExists(this.LOGFILE))
{
systemIO.FileDelete(this.LOGFILE);
}
if (systemIO.FileExists(this.DBFILE))
{
systemIO.FileDelete(this.DBFILE);