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)