Skip to content

Commit 68bc044

Browse files
Fix random test failure in MultiRegisterCommand test (microsoft#1127)
Co-authored-by: Badrish Chandramouli <badrishc@microsoft.com>
1 parent 73849c1 commit 68bc044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Garnet.test/RespCustomCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ public void MultiRegisterCommandTest(bool sync)
12581258
}
12591259
}
12601260

1261-
if (!sync) Task.WhenAll(regCmdTasks);
1261+
if (!sync) Task.WaitAll(regCmdTasks);
12621262

12631263
for (var i = 0; i < regCount; i++)
12641264
{

0 commit comments

Comments
 (0)