fix WorkTest.ExecutionWork_ShouldReturn_FailsWithInfo

This commit is contained in:
ngfrolov 2024-04-15 11:30:06 +05:00
parent beb0d08ff5
commit f2867794d1
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -1,4 +1,5 @@
using System; using System;
using System.Runtime.CompilerServices;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using AsbCloudInfrastructure.Background; using AsbCloudInfrastructure.Background;
@ -87,7 +88,7 @@ public class WorkTest
Assert.Equal(expectedProgress, currentState.Progress); Assert.Equal(expectedProgress, currentState.Progress);
} }
[Fact] [Fact, MethodImpl(MethodImplOptions.NoOptimization)]
public async Task ExecutionWork_ShouldReturn_FailsWithInfo() public async Task ExecutionWork_ShouldReturn_FailsWithInfo()
{ {
//arrange //arrange