Applies isolated test context per moment-run
This commit is contained in:
parent
55998419ee
commit
25a795f0fd
|
@ -3,6 +3,7 @@ using DistTestCore;
|
|||
using Logging;
|
||||
using Utils;
|
||||
using KubernetesWorkflow;
|
||||
using NUnit.Framework.Internal;
|
||||
|
||||
namespace ContinuousTests
|
||||
{
|
||||
|
@ -90,6 +91,8 @@ namespace ContinuousTests
|
|||
}
|
||||
|
||||
private void RunMoment(int t)
|
||||
{
|
||||
using (var context = new TestExecutionContext.IsolatedContext())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -100,6 +103,7 @@ namespace ContinuousTests
|
|||
Log($" > TestMoment yielded exception: " + ex);
|
||||
exceptions.Add(ex);
|
||||
}
|
||||
}
|
||||
|
||||
DecommissionTest();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue