Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 8e07c41

Browse files
Uncommenting delete of integration test folder
1 parent 668661d commit 8e07c41

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/tests/IntegrationTests/BaseIntegrationTest.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,24 @@ public virtual void OnSetup()
4141
[TearDown]
4242
public virtual void OnTearDown()
4343
{
44-
// TaskManager.Instance?.Dispose();
45-
// Logger.Debug("Deleting TestBasePath: {0}", TestBasePath.ToString());
46-
// for (var i = 0; i < 5; i++)
47-
// {
48-
// try
49-
// {
50-
// TestBasePath.Delete();
51-
// break;
52-
// }
53-
// catch (Exception)
54-
// {
55-
// Thread.Sleep(100);
56-
// }
57-
// }
58-
// if (TestBasePath.Exists())
59-
// Logger.Warning("Error deleting TestBasePath: {0}", TestBasePath.ToString());
60-
//
61-
// NPath.FileSystem = null;
44+
TaskManager.Instance?.Dispose();
45+
Logger.Debug("Deleting TestBasePath: {0}", TestBasePath.ToString());
46+
for (var i = 0; i < 5; i++)
47+
{
48+
try
49+
{
50+
TestBasePath.Delete();
51+
break;
52+
}
53+
catch (Exception)
54+
{
55+
Thread.Sleep(100);
56+
}
57+
}
58+
if (TestBasePath.Exists())
59+
Logger.Warning("Error deleting TestBasePath: {0}", TestBasePath.ToString());
60+
61+
NPath.FileSystem = null;
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)