Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hello cmd tcl unit test #147

Open
luky116 opened this issue Dec 31, 2024 · 2 comments
Open

add hello cmd tcl unit test #147

luky116 opened this issue Dec 31, 2024 · 2 comments
Assignees

Comments

@luky116
Copy link
Collaborator

luky116 commented Dec 31, 2024

Which kiwi functionalities are relevant/related to the feature request?

No response

Description

添加 hello 命令的 TCL 测试

参考:#148
No response

Proposed solution

No response

Alternatives considered

No response

@luky116 luky116 changed the title add hello cmd tcl add hello cmd tcl unit test Dec 31, 2024
@longfar-ncy
Copy link
Collaborator

HELLO 命令主要有三个功能:

  1. 类似 ping 和 info ,检查连接情况并返回一些基本信息
  2. 设置 client name 以标识不同的 client
  3. 切换 redis 交互协议。

redis 协议主要是指 RESP 协议,常用的是 RESP2 和改进的 RESP3 两种协议。
Kiwi 现在只实现了 RESP2 协议。tcl 中 hello 相关的测试,都是用来切换协议,从而测试不同协议的返回值情况。
想要通过所有 tcl 测试,需要实现 RESP3 协议,这可以新建一个 issure

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


The HELLO command has three main functions:

  1. Similar to ping and info, check the connection status and return some basic information
  2. Set client name to identify different clients
  3. Switch the redis interaction protocol.

The redis protocol mainly refers to the RESP protocol, and the two commonly used protocols are RESP2 and improved RESP3.
Kiwi currently only implements the RESP2 protocol. The hello-related tests in tcl are all used to switch protocols to test the return values ​​of different protocols.
To pass all tcl tests, you need to implement the RESP3 protocol, which can create a new issure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants