From 3620cf0c2d271791eacfdb8f8f1f34efa954d106 Mon Sep 17 00:00:00 2001 From: Artem Torubarov Date: Thu, 25 Jan 2024 16:56:24 +0400 Subject: [PATCH] fix rpc test --- pkg/rpc/agent_redis_request_reply_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/agent_redis_request_reply_test.go b/pkg/rpc/agent_redis_request_reply_test.go index 9281e57..36d5b75 100644 --- a/pkg/rpc/agent_redis_request_reply_test.go +++ b/pkg/rpc/agent_redis_request_reply_test.go @@ -41,7 +41,7 @@ func TestAgent(t *testing.T) { _ = AgentServe(ctx, c, "agent3", "s3") }() tst := AgentClient{c} - time.Sleep(time.Millisecond * 50) + time.Sleep(50 * time.Millisecond) res, err := tst.Ping(ctx) r.NoError(err) res, err = tst.Ping(ctx)