Skip to content

Commit a121c9c

Browse files
build(deps): bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 in /integrationtests (#2874)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ad5632c commit a121c9c

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

integrationtests/IntegrationTests.Shared.Tests/IntegrationTests.Shared.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
1212
<PackageReference Include="xunit" Version="2.4.1" />
1313
<PackageReference Include="xunit.runner.console" Version="2.4.1">
1414
<PrivateAssets>all</PrivateAssets>

src/Directory.build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</PropertyGroup>
3535

3636
<ItemGroup Condition="$(IsTestProject)">
37-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
37+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
3838
<PackageReference Include="xunit" Version="2.4.1" />
3939
<PackageReference Include="xunit.runner.console" Version="2.4.1" />
4040
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />

src/ReactiveUI.Tests/Commands/ReactiveCommandTest.cs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,11 +1158,13 @@ public async Task ReactiveCommandCreateFromTaskHandlesTaskExceptionAsync()
11581158
var subj = new Subject<Unit>();
11591159
var isExecuting = false;
11601160
Exception? fail = null;
1161-
var fixture = ReactiveCommand.CreateFromTask(async _ =>
1162-
{
1163-
await subj.Take(1);
1164-
throw new Exception("break execution");
1165-
});
1161+
var fixture = ReactiveCommand.CreateFromTask(
1162+
async _ =>
1163+
{
1164+
await subj.Take(1);
1165+
throw new Exception("break execution");
1166+
});
1167+
11661168
fixture.IsExecuting.Subscribe(x => isExecuting = x);
11671169
fixture.ThrownExceptions.Subscribe(ex => fail = ex);
11681170

@@ -1175,8 +1177,8 @@ public async Task ReactiveCommandCreateFromTaskHandlesTaskExceptionAsync()
11751177

11761178
subj.OnNext(Unit.Default);
11771179

1178-
// Wait 1 ms to allow execution to complete
1179-
await Task.Delay(1).ConfigureAwait(false);
1180+
// Wait 10 ms to allow execution to complete
1181+
await Task.Delay(10).ConfigureAwait(false);
11801182

11811183
Assert.False(isExecuting);
11821184
Assert.Equal("break execution", fail?.Message);

0 commit comments

Comments
 (0)