-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unit Test To-Be-Fixed List | 单元测试待修复列表 #1605
Comments
to-be-fixed list | 待修复列表printver
auth @hqh-cell
protocol
basic @wang1309
scan
type/list
type/set
type/string
type/hash @wang1309
sort
expire
multi
quit
aofrw
pubsub
slowlog
scripting
maxmemory
introspection
limits
obuf-limits
dump
bitops
memefficiency
|
type/set [err]: SRANDMEMBER with - hashtable in tests/unit/type/set.tcl 这个还没解决吗?我上次提交的pr处理过这个,在我本地是成功的。 |
[err]: AUTH fails when a wrong password is given in tests/unit/auth.tcl |
yes you can |
这个偶尔会失败,不是很稳定。错误信息是这样的:
|
type/hash => I will try this |
Thank you for your contribution to Pika. |
…ting the s> Fixes: OpenAtomFoundation#1662 OpenAtomFoundation#1605 Signed-off-by: hqh-cell <[email protected]>
I want to fix the rest of this. |
同步线下沟通信息。 启动失败的原因是修改 databases size 后启动慢,在命令执行时,pika 未就绪。 |
The following list consists of unit test projects that are currently unable to run successfully and require someone to fix them. Each case should be fixed one at a time.
How to run unit tests
bashCopy code
Explanation of the to-be-fixed list
Each title in the to-be-fixed list corresponds to a test file. For example, "auth" represents
tests/unit/auth.tcl
.The cases in the to-be-fixed list can be divided into two categories:
[err] This type of error needs to be analyzed and the specific cause of the error determined.
[exception] This type of error is usually caused by unsupported commands, and the reason needs to be determined based on Pika's Differential Commands. (The differentiated command documents may be outdated and may not be accurate. Therefore, it is necessary to follow the code instead. If any differences are found, please update the differentiated document accordingly.)
Since an exception can cause the subsequent tests in the test file to fail, please add any repaired [err] or [exception] cases to the to-be-fixed list in this issue.
If all errors under a title have been fixed, please uncomment the corresponding item in the
tests/test_helper.tcl
file'sall_tests
list.bashCopy code
以下列表是当前无法跑通的单元测试项目, 需要有人来修复,每次针对一个 case 进行修复即可。
如果对某个错误感兴趣,在错误信息后 @ 自己即可。
如何运行单测
zset 为例,以下命令会执行 tests/unit/type/zset.tcl 文件进行测试
待修复列表说明
待修复列表中的每个标题对应一个测试文件,例如 auth 表示
tests/unit/auth.tcl
待修复列表中的 case 分为两类:
[err]
此类错误需要分析并确定具体的错误原因。
[exception]
此类错误通常是由于命令不被支持所导致的,需要根据 Pika 的 差异化命令 及源码来确定原因。(差异化命令文档较为陈旧,可能并不准确,须以代码为准,若发现差异请更新至差异化文档)
同时由于 exception 会导致后续测试无法运行,修复后请将后续的 err 或 exception 补充至此 issue 的待修复列表中。
如果标题下的所有错误都被修复,请将
tests/test_helper.tcl
文件中的 all_tests 列表里的对应项取消注释。The text was updated successfully, but these errors were encountered: