File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
integrationtests/IntegrationTests.Shared.Tests
ReactiveUI.Tests/Commands Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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" />
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments