Skip to content

Commit

Permalink
update timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc committed Nov 12, 2024
1 parent a3f2900 commit d42a90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Garnet.test/RespPubSubTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private void SubscribeAndPublish(ISubscriber sub, IDatabase db, RedisChannel cha
while (true)
{
db.Publish(publishChannel.Value, message.Value);
var ret = evt.WaitOne(TimeSpan.FromSeconds(10));
var ret = evt.WaitOne(TimeSpan.FromSeconds(1));
if (ret) break;
repeat--;
ClassicAssert.IsTrue(repeat != 0, "Timeout waiting for subscription receive");
Expand Down

0 comments on commit d42a90b

Please sign in to comment.