Skip to content

Commit 31e478f

Browse files
committed
IsCompletedSuccessfully" is *not* available in all test envs
1 parent c7ec771 commit 31e478f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/NRedisStack.Tests/Search/SearchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ public void TestDocumentLoadWithDB_Issue352()
33573357
}
33583358
});
33593359
Task.WhenAny(searchTask, Task.Delay(1000)).GetAwaiter().GetResult();
3360-
Assert.True(searchTask.IsCompletedSuccessfully);
3360+
Assert.True(searchTask.IsCompleted);
33613361
Assert.Null(searchTask.Exception);
33623362
cancelled = true;
33633363
} while (droppedDocument == null && numberOfAttempts++ < 3);

0 commit comments

Comments
 (0)