File tree 1 file changed +2
-2
lines changed
tests/NRedisStack.Tests/Search
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()
3441
3441
/// </summary>
3442
3442
[ SkippableTheory ]
3443
3443
[ MemberData ( nameof ( EndpointsFixture . Env . StandaloneOnly ) , MemberType = typeof ( EndpointsFixture . Env ) ) ]
3444
- public void TestDocumentLoadWithDB_Issue352 ( string endpointId )
3444
+ public async void TestDocumentLoadWithDB_Issue352 ( string endpointId )
3445
3445
{
3446
3446
IDatabase db = GetCleanDatabase ( endpointId ) ;
3447
3447
var ft = db . FT ( ) ;
@@ -3494,7 +3494,7 @@ public void TestDocumentLoadWithDB_Issue352(string endpointId)
3494
3494
tasks . Add ( Task . Run ( checker ) ) ;
3495
3495
}
3496
3496
Task checkTask = Task . WhenAll ( tasks ) ;
3497
- Task . WhenAny ( checkTask , Task . Delay ( 1500 ) ) . GetAwaiter ( ) . GetResult ( ) ;
3497
+ await Task . WhenAny ( checkTask , Task . Delay ( 1500 ) ) ;
3498
3498
Assert . True ( checkTask . IsCompleted ) ;
3499
3499
Assert . Null ( checkTask . Exception ) ;
3500
3500
cancelled = true ;
You can’t perform that action at this time.
0 commit comments