Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Dec 17, 2024
1 parent a24e0c5 commit 4ce9e6f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ public static async Task<int> Main(string[] args)
(_,__) => new DummyTestFramework());
builder.AddCrashDumpProvider();
builder.AddTrxReportProvider();
builder.AddRetryProvider();
using ITestApplication app = await builder.BuildAsync();
return await app.RunAsync();
}
Expand Down Expand Up @@ -269,7 +270,7 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
else
{
await context.MessageBus.PublishAsync(this, new TestNodeUpdateMessage(context.Request.Session.SessionUid,
new TestNode() { Uid = "1", DisplayName = "TestMethod1", Properties = new(FailedTestNodeStateProperty.CachedInstance) }));
new TestNode() { Uid = "1", DisplayName = "TestMethod1", Properties = new(new FailedTestNodeStateProperty()) }));
}
if (await TestMethod2(fail, resultDir))
Expand All @@ -280,7 +281,7 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
else
{
await context.MessageBus.PublishAsync(this, new TestNodeUpdateMessage(context.Request.Session.SessionUid,
new TestNode() { Uid = "2", DisplayName = "TestMethod2", Properties = new(FailedTestNodeStateProperty.CachedInstance) }));
new TestNode() { Uid = "2", DisplayName = "TestMethod2", Properties = new(new FailedTestNodeStateProperty()) }));
}
if (await TestMethod3(fail, resultDir))
Expand All @@ -291,7 +292,7 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
else
{
await context.MessageBus.PublishAsync(this, new TestNodeUpdateMessage(context.Request.Session.SessionUid,
new TestNode() { Uid = "3", DisplayName = "TestMethod3", Properties = new(FailedTestNodeStateProperty.CachedInstance) }));
new TestNode() { Uid = "3", DisplayName = "TestMethod3", Properties = new(new FailedTestNodeStateProperty()) }));
}
context.Complete();
Expand Down

0 comments on commit 4ce9e6f

Please sign in to comment.