Skip to content

Commit

Permalink
Use db.ConnectAsync()
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed May 15, 2024
1 parent 322a568 commit ee17a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Garnet.test/RespListGarnetClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public async Task AddElementsToTheListHead_ReturnsListItemsCount(string key, str
{
// Arrange
using var db = new GarnetClient(TestUtils.Address, TestUtils.Port);
db.Connect();
await db.ConnectAsync();

// Act & Assert
Assert.AreEqual(result, await db.ListLeftPushAsync(key, elements));
Expand Down Expand Up @@ -123,7 +123,7 @@ public async Task AddElementsToTheListTail_ReturnsListItemsCount(string key, str
{
// Arrange
using var db = new GarnetClient(TestUtils.Address, TestUtils.Port);
db.Connect();
await db.ConnectAsync();

// Act & Assert
Assert.AreEqual(result, await db.ListRightPushAsync(key, elements));
Expand Down

0 comments on commit ee17a47

Please sign in to comment.