File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/NRedisStack.Tests/Search Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3441,7 +3441,7 @@ public void TestDocumentLoad_Issue352()
34413441 /// </summary>
34423442 [ SkippableTheory ]
34433443 [ MemberData ( nameof ( EndpointsFixture . Env . StandaloneOnly ) , MemberType = typeof ( EndpointsFixture . Env ) ) ]
3444- public void TestDocumentLoadWithDB_Issue352 ( string endpointId )
3444+ public async void TestDocumentLoadWithDB_Issue352 ( string endpointId )
34453445 {
34463446 IDatabase db = GetCleanDatabase ( endpointId ) ;
34473447 var ft = db . FT ( ) ;
@@ -3494,7 +3494,7 @@ public void TestDocumentLoadWithDB_Issue352(string endpointId)
34943494 tasks . Add ( Task . Run ( checker ) ) ;
34953495 }
34963496 Task checkTask = Task . WhenAll ( tasks ) ;
3497- Task . WhenAny ( checkTask , Task . Delay ( 1500 ) ) . GetAwaiter ( ) . GetResult ( ) ;
3497+ await Task . WhenAny ( checkTask , Task . Delay ( 1500 ) ) ;
34983498 Assert . True ( checkTask . IsCompleted ) ;
34993499 Assert . Null ( checkTask . Exception ) ;
35003500 cancelled = true ;
You can’t perform that action at this time.
0 commit comments