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

Unit Test To-Be-Fixed List | 单元测试待修复列表 #1605

Closed
machinly opened this issue Jun 9, 2023 · 10 comments · Fixed by #1675
Closed

Unit Test To-Be-Fixed List | 单元测试待修复列表 #1605

machinly opened this issue Jun 9, 2023 · 10 comments · Fixed by #1675

Comments

@machinly
Copy link
Collaborator

machinly commented Jun 9, 2023

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

  1. Build Pika
./build.sh
  1. Run the tests Taking zset as an example, the following command will execute the test file tests/unit/type/zset.tcl

bashCopy code

./pikatests.sh type/zset

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's all_tests list.

bashCopy code

set ::all_tests {
	# unit/printver
	# unit/auth
	# unit/protocol
	unit/basic
	# unit/scan
	# unit/type/list

以下列表是当前无法跑通的单元测试项目, 需要有人来修复,每次针对一个 case 进行修复即可。
如果对某个错误感兴趣,在错误信息后 @ 自己即可。

如何运行单测

  1. build Pika
./build.sh
  1. 运行测试
    zset 为例,以下命令会执行 tests/unit/type/zset.tcl 文件进行测试
./pikatests.sh type/zset

待修复列表说明

待修复列表中的每个标题对应一个测试文件,例如 auth 表示 tests/unit/auth.tcl

待修复列表中的 case 分为两类:

  • [err]
    此类错误需要分析并确定具体的错误原因。

  • [exception]
    此类错误通常是由于命令不被支持所导致的,需要根据 Pika 的 差异化命令 及源码来确定原因。(差异化命令文档较为陈旧,可能并不准确,须以代码为准,若发现差异请更新至差异化文档)
    同时由于 exception 会导致后续测试无法运行,修复后请将后续的 err 或 exception 补充至此 issue 的待修复列表中。

如果标题下的所有错误都被修复,请将 tests/test_helper.tcl 文件中的 all_tests 列表里的对应项取消注释。

set ::all_tests {
    # unit/printver
    # unit/auth
    # unit/protocol
    unit/basic
    # unit/scan
    # unit/type/list
@machinly
Copy link
Collaborator Author

machinly commented Jun 9, 2023

to-be-fixed list | 待修复列表

printver

auth @hqh-cell

protocol

  • [exception]: Executing test client: I/O error reading reply.

basic @wang1309

scan

type/list

  • [err]: Cant' start the Redis server

type/set

type/string

  • [err]:getex(命令不支持)
  • [err]:getdel(命令不支持)
  • [err]:setrange命令返回有问题
  • [err]:getrange命令返回有问题

type/hash @wang1309

  • test/unit type/hash 单测问题汇总 #1623
  • [err]: HSET/HLEN - Small hash creation in tests/unit/type/hash.tcl
  • [err]: HSET/HLEN - Big hash creation in tests/unit/type/hash.tcl
  • [err]: HGET against the small hash in tests/unit/type/hash.tcl
  • [err]: HGET against the big hash in tests/unit/type/hash.tcl
  • [err]: HDEL - more than a single value in tests/unit/type/hash.tcl
  • [err]: HINCRBY can detect overflows in tests/unit/type/hash.tcl

sort

  • [exception]: Executing test client: ERR unknown command "debug". pika 不支持 debug, sort 命令
  • [exception]: Executing test client: ERR unknown command "object".

expire

  • [err]: EXPIRE - After 2.1 seconds the key should no longer be here in tests/unit/expire.tcl
  • [err]: SETEX - Wait for the key to expire in tests/unit/expire.tcl
  • [exception]: Executing test client: ERR Invalid argument: invalid expire time.

multi

  • [exception]: Executing test client: ERR unknown command "multi".

quit

  • [err]: Pipelined commands after QUIT must not be executed in tests/unit/quit.tcl
  • [err]: Pipelined commands after QUIT that exceed read buffer size in tests/unit/quit.tcl

aofrw

  • [exception]: Executing test client: ERR Unsupported CONFIG parameter: appendonly.

pubsub

  • [exception]: Executing test client: ERR invalid DB index for 'select DB index is out of range'.

slowlog

  • [err]: SLOWLOG - check that it starts with an empty log in tests/unit/slowlog.tcl
  • [err]: SLOWLOG - only logs commands taking more time than specified in tests/unit/slowlog.tcl
  • [exception]: Executing test client: ERR unknown command "debug".

scripting

  • [exception]: Executing test client: ERR unknown command "eval".

maxmemory

introspection

  • [err]: CLIENT LIST in tests/unit/introspection.tcl
  • [exception]: Executing test client: ERR invalid DB index for 'select DB index is out of range'.

limits

  • [err]: Check if maxclients works refusing connections in tests/unit/limits.tcl

obuf-limits

  • [exception]: Executing test client: ERR Unsupported CONFIG parameter: client-output-buffer-limit.

dump

  • [exception]: Executing test client: ERR unknown command "dump".

bitops

  • [err]: BITOP with non string source key in tests/unit/bitops.tcl
  • [exception]: Executing test client: ERR NotFound:.

memefficiency

  • [exception]: Executing test client: ERR invalid DB index for 'select DB index is out of range'.

@chenbt-hz
Copy link
Collaborator

type/set

[err]: SRANDMEMBER with - hashtable in tests/unit/type/set.tcl

这个还没解决吗?我上次提交的pr处理过这个,在我本地是成功的。

@hqh-cell
Copy link
Contributor

[err]: AUTH fails when a wrong password is given in tests/unit/auth.tcl
Can I Try This?

@luky116
Copy link
Collaborator

luky116 commented Jun 10, 2023

[err]: AUTH fails when a wrong password is given in tests/unit/auth.tcl Can I Try This?

yes you can

@machinly
Copy link
Collaborator Author

machinly commented Jun 12, 2023

type/set

[err]: SRANDMEMBER with - hashtable in tests/unit/type/set.tcl

这个还没解决吗?我上次提交的pr处理过这个,在我本地是成功的。

这个偶尔会失败,不是很稳定。错误信息是这样的:

[err]: SRANDMEMBER with <count> - hashtable in tests/unit/type/set.tcl
Expected condition '$iterations != 0' to be true (0 != 0)

@wang1309
Copy link
Contributor

type/hash => I will try this

@AlexStocks
Copy link
Collaborator

type/hash => I will try this

Thank you for your contribution to Pika.

@machinly machinly changed the title 单元测试待修复列表 Unit Test To-Be-Fixed List | 单元测试待修复列表 Jun 13, 2023
hqh-cell added a commit to hqh-cell/pika that referenced this issue Jun 24, 2023
@hqh-cell
Copy link
Contributor

auth

I want to fix the rest of this.

@ForestLH
Copy link
Contributor

ForestLH commented Jul 4, 2023

咱们这个测试是不是不能包含db数量大于1的情况
我将databases改成了8,然后跑./pikatests.sh basic就会报错
image

CONFIGURATION:port : 21212
thread-num : 1
thread-pool-size : 12
sync-thread-num : 6
log-path : ./log/
db-path : ./db/
write-buffer-size : 256M
arena-block-size :
timeout : 60
requirepass:
masterauth :
userpass:
userblacklist :
instance-mode : classic
databases : 8
replication-num : 0
consensus-level : 0
dump-prefix :
dump-path : ./dump/
dump-expire : 0
pidfile : ./pika.pid
maxclients : 20000
target-file-size-base : 20M
expire-logs-days : 7
expire-logs-nums : 10
root-connection-num : 2
slowlog-write-errorlog : no
slowlog-log-slower-than : 10000
slowlog-max-len : 128
db-sync-path : ./dbsync/
db-sync-speed : -1
slave-priority : 100
sync-window-size : 9000
max-conn-rbuf-size : 268435456
write-binlog : yes
binlog-file-size : 104857600
max-cache-statistic-keys : 0
small-compaction-threshold : 5000
max-write-buffer-size : 10737418240
max-write-buffer-num : 2
max-client-response-size : 1073741824
compression : snappy
max-background-flushes : 1
max-background-compactions : 2
max-cache-files : 5000
max-bytes-for-level-multiplier : 10
slotmigrate : no
default-slot-num : 1024
dir ./tests/tmp/server.33142.1
ERROR:path : ./tests/tmp/redis.conf.33142.2
-----------Pika server----------
pika_version: 3.4.2
pika_git_sha:a8e343a852476cf6514b9461effb66c6aec76f20
pika_build_compile_date: pika_build_date:2023-06-04 09:16:31
redis_version: 3.4.2
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20230705 00:46:04.790685 4570481 base_conf.cc:321] 1 port 21212
I20230705 00:46:04.791766 4570481 base_conf.cc:321] 2 thread-num 1
I20230705 00:46:04.791781 4570481 base_conf.cc:321] 3 thread-pool-size 12
I20230705 00:46:04.791793 4570481 base_conf.cc:321] 4 sync-thread-num 6
I20230705 00:46:04.791805 4570481 base_conf.cc:321] 5 log-path ./log/
I20230705 00:46:04.791815 4570481 base_conf.cc:321] 6 db-path ./db/
I20230705 00:46:04.791826 4570481 base_conf.cc:321] 7 write-buffer-size 256M
I20230705 00:46:04.791837 4570481 base_conf.cc:321] 8 arena-block-size
I20230705 00:46:04.791848 4570481 base_conf.cc:321] 9 timeout 60
I20230705 00:46:04.791858 4570481 base_conf.cc:321] 10 requirepass
I20230705 00:46:04.791869 4570481 base_conf.cc:321] 11 masterauth
I20230705 00:46:04.791879 4570481 base_conf.cc:321] 12 userpass
I20230705 00:46:04.791889 4570481 base_conf.cc:321] 13 userblacklist
I20230705 00:46:04.791900 4570481 base_conf.cc:321] 14 instance-mode classic
I20230705 00:46:04.791911 4570481 base_conf.cc:321] 15 databases 8
I20230705 00:46:04.791921 4570481 base_conf.cc:321] 16 replication-num 0
I20230705 00:46:04.791931 4570481 base_conf.cc:321] 17 consensus-level 0
I20230705 00:46:04.791941 4570481 base_conf.cc:321] 18 dump-prefix
I20230705 00:46:04.791951 4570481 base_conf.cc:321] 19 dump-path ./dump/
I20230705 00:46:04.791961 4570481 base_conf.cc:321] 20 dump-expire 0
I20230705 00:46:04.791971 4570481 base_conf.cc:321] 21 pidfile ./pika.pid
I20230705 00:46:04.791981 4570481 base_conf.cc:321] 22 maxclients 20000
I20230705 00:46:04.791991 4570481 base_conf.cc:321] 23 target-file-size-base 20M
I20230705 00:46:04.792002 4570481 base_conf.cc:321] 24 expire-logs-days 7
I20230705 00:46:04.792011 4570481 base_conf.cc:321] 25 expire-logs-nums 10
I20230705 00:46:04.792021 4570481 base_conf.cc:321] 26 root-connection-num 2
I20230705 00:46:04.792032 4570481 base_conf.cc:321] 27 slowlog-write-errorlog no
I20230705 00:46:04.792042 4570481 base_conf.cc:321] 28 slowlog-log-slower-than 10000
I20230705 00:46:04.792052 4570481 base_conf.cc:321] 29 slowlog-max-len 128
I20230705 00:46:04.792061 4570481 base_conf.cc:321] 30 db-sync-path ./dbsync/
I20230705 00:46:04.792073 4570481 base_conf.cc:321] 31 db-sync-speed -1
I20230705 00:46:04.792083 4570481 base_conf.cc:321] 32 slave-priority 100
I20230705 00:46:04.792093 4570481 base_conf.cc:321] 33 sync-window-size 9000
I20230705 00:46:04.792104 4570481 base_conf.cc:321] 34 max-conn-rbuf-size 268435456
I20230705 00:46:04.792114 4570481 base_conf.cc:321] 35 write-binlog yes
I20230705 00:46:04.792124 4570481 base_conf.cc:321] 36 binlog-file-size 104857600
I20230705 00:46:04.792135 4570481 base_conf.cc:321] 37 max-cache-statistic-keys 0
I20230705 00:46:04.792145 4570481 base_conf.cc:321] 38 small-compaction-threshold 5000
I20230705 00:46:04.792155 4570481 base_conf.cc:321] 39 max-write-buffer-size 10737418240
I20230705 00:46:04.792165 4570481 base_conf.cc:321] 40 max-write-buffer-num 2
I20230705 00:46:04.792177 4570481 base_conf.cc:321] 41 max-client-response-size 1073741824
I20230705 00:46:04.792188 4570481 base_conf.cc:321] 42 compression snappy
I20230705 00:46:04.792199 4570481 base_conf.cc:321] 43 max-background-flushes 1
I20230705 00:46:04.792209 4570481 base_conf.cc:321] 44 max-background-compactions 2
I20230705 00:46:04.792220 4570481 base_conf.cc:321] 45 max-cache-files 5000
I20230705 00:46:04.792230 4570481 base_conf.cc:321] 46 max-bytes-for-level-multiplier 10
I20230705 00:46:04.792240 4570481 base_conf.cc:321] 47 slotmigrate no
I20230705 00:46:04.792250 4570481 base_conf.cc:321] 48 default-slot-num 1024
W20230705 00:46:04.792264 4570481 pika.cc:172] your 'limit -n ' of 8192 is not enough for Redis to start. pika have successfully reconfig it to 25000
I20230705 00:46:04.792652 4570481 pika.cc:191] Server at: ./tests/tmp/redis.conf.33142.2
I20230705 00:46:04.793135 4570481 net_interfaces.cc:62] got interface lo0
I20230705 00:46:04.793172 4570481 net_interfaces.cc:104] Using Networker Interface: lo0
I20230705 00:46:04.793231 4570481 net_interfaces.cc:148] got ip 127.0.0.1
I20230705 00:46:04.793269 4570481 pika_server.cc:124] host: 127.0.0.1 port: 21212
I20230705 00:46:04.793359 4570481 pika_server.cc:71] Worker queue limit is 20100
I20230705 00:46:04.793462 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793594 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793740 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793949 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.794072 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.794322 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.794714 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.794955 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795193 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795436 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795675 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795893 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.796175 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:07.581496 4570481 pika_slot.cc:63] db0 DB Success
I20230705 00:46:09.312949 4570481 pika_slot.cc:63] db1 DB Success
[1/1 done]: unit/basic (5 seconds)
The End
Execution time of different units:
5 seconds - unit/basic
!!! WARNING The following tests failed:
*** [err]: Cant' start the Redis server
CONFIGURATION:port : 21212
thread-num : 1
thread-pool-size : 12
sync-thread-num : 6
log-path : ./log/
db-path : ./db/
write-buffer-size : 256M
arena-block-size :
timeout : 60
requirepass:
masterauth :
userpass:
userblacklist :
instance-mode : classic
databases : 8
replication-num : 0
consensus-level : 0
dump-prefix :
dump-path : ./dump/
dump-expire : 0
pidfile : ./pika.pid
maxclients : 20000
target-file-size-base : 20M
expire-logs-days : 7
expire-logs-nums : 10
root-connection-num : 2
slowlog-write-errorlog : no
slowlog-log-slower-than : 10000
slowlog-max-len : 128
db-sync-path : ./dbsync/
db-sync-speed : -1
slave-priority : 100
sync-window-size : 9000
max-conn-rbuf-size : 268435456
write-binlog : yes
binlog-file-size : 104857600
max-cache-statistic-keys : 0
small-compaction-threshold : 5000
max-write-buffer-size : 10737418240
max-write-buffer-num : 2
max-client-response-size : 1073741824
compression : snappy
max-background-flushes : 1
max-background-compactions : 2
max-cache-files : 5000
max-bytes-for-level-multiplier : 10
slotmigrate : no
default-slot-num : 1024
dir ./tests/tmp/server.33142.1
ERROR:path : ./tests/tmp/redis.conf.33142.2
-----------Pika server----------
pika_version: 3.4.2
pika_git_sha:a8e343a852476cf6514b9461effb66c6aec76f20
pika_build_compile_date: pika_build_date:2023-06-04 09:16:31
redis_version: 3.4.2
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20230705 00:46:04.790685 4570481 base_conf.cc:321] 1 port 21212
I20230705 00:46:04.791766 4570481 base_conf.cc:321] 2 thread-num 1
I20230705 00:46:04.791781 4570481 base_conf.cc:321] 3 thread-pool-size 12
I20230705 00:46:04.791793 4570481 base_conf.cc:321] 4 sync-thread-num 6
I20230705 00:46:04.791805 4570481 base_conf.cc:321] 5 log-path ./log/
I20230705 00:46:04.791815 4570481 base_conf.cc:321] 6 db-path ./db/
I20230705 00:46:04.791826 4570481 base_conf.cc:321] 7 write-buffer-size 256M
I20230705 00:46:04.791837 4570481 base_conf.cc:321] 8 arena-block-size
I20230705 00:46:04.791848 4570481 base_conf.cc:321] 9 timeout 60
I20230705 00:46:04.791858 4570481 base_conf.cc:321] 10 requirepass
I20230705 00:46:04.791869 4570481 base_conf.cc:321] 11 masterauth
I20230705 00:46:04.791879 4570481 base_conf.cc:321] 12 userpass
I20230705 00:46:04.791889 4570481 base_conf.cc:321] 13 userblacklist
I20230705 00:46:04.791900 4570481 base_conf.cc:321] 14 instance-mode classic
I20230705 00:46:04.791911 4570481 base_conf.cc:321] 15 databases 8
I20230705 00:46:04.791921 4570481 base_conf.cc:321] 16 replication-num 0
I20230705 00:46:04.791931 4570481 base_conf.cc:321] 17 consensus-level 0
I20230705 00:46:04.791941 4570481 base_conf.cc:321] 18 dump-prefix
I20230705 00:46:04.791951 4570481 base_conf.cc:321] 19 dump-path ./dump/
I20230705 00:46:04.791961 4570481 base_conf.cc:321] 20 dump-expire 0
I20230705 00:46:04.791971 4570481 base_conf.cc:321] 21 pidfile ./pika.pid
I20230705 00:46:04.791981 4570481 base_conf.cc:321] 22 maxclients 20000
I20230705 00:46:04.791991 4570481 base_conf.cc:321] 23 target-file-size-base 20M
I20230705 00:46:04.792002 4570481 base_conf.cc:321] 24 expire-logs-days 7
I20230705 00:46:04.792011 4570481 base_conf.cc:321] 25 expire-logs-nums 10
I20230705 00:46:04.792021 4570481 base_conf.cc:321] 26 root-connection-num 2
I20230705 00:46:04.792032 4570481 base_conf.cc:321] 27 slowlog-write-errorlog no
I20230705 00:46:04.792042 4570481 base_conf.cc:321] 28 slowlog-log-slower-than 10000
I20230705 00:46:04.792052 4570481 base_conf.cc:321] 29 slowlog-max-len 128
I20230705 00:46:04.792061 4570481 base_conf.cc:321] 30 db-sync-path ./dbsync/
I20230705 00:46:04.792073 4570481 base_conf.cc:321] 31 db-sync-speed -1
I20230705 00:46:04.792083 4570481 base_conf.cc:321] 32 slave-priority 100
I20230705 00:46:04.792093 4570481 base_conf.cc:321] 33 sync-window-size 9000
I20230705 00:46:04.792104 4570481 base_conf.cc:321] 34 max-conn-rbuf-size 268435456
I20230705 00:46:04.792114 4570481 base_conf.cc:321] 35 write-binlog yes
I20230705 00:46:04.792124 4570481 base_conf.cc:321] 36 binlog-file-size 104857600
I20230705 00:46:04.792135 4570481 base_conf.cc:321] 37 max-cache-statistic-keys 0
I20230705 00:46:04.792145 4570481 base_conf.cc:321] 38 small-compaction-threshold 5000
I20230705 00:46:04.792155 4570481 base_conf.cc:321] 39 max-write-buffer-size 10737418240
I20230705 00:46:04.792165 4570481 base_conf.cc:321] 40 max-write-buffer-num 2
I20230705 00:46:04.792177 4570481 base_conf.cc:321] 41 max-client-response-size 1073741824
I20230705 00:46:04.792188 4570481 base_conf.cc:321] 42 compression snappy
I20230705 00:46:04.792199 4570481 base_conf.cc:321] 43 max-background-flushes 1
I20230705 00:46:04.792209 4570481 base_conf.cc:321] 44 max-background-compactions 2
I20230705 00:46:04.792220 4570481 base_conf.cc:321] 45 max-cache-files 5000
I20230705 00:46:04.792230 4570481 base_conf.cc:321] 46 max-bytes-for-level-multiplier 10
I20230705 00:46:04.792240 4570481 base_conf.cc:321] 47 slotmigrate no
I20230705 00:46:04.792250 4570481 base_conf.cc:321] 48 default-slot-num 1024
W20230705 00:46:04.792264 4570481 pika.cc:172] your 'limit -n ' of 8192 is not enough for Redis to start. pika have successfully reconfig it to 25000
I20230705 00:46:04.792652 4570481 pika.cc:191] Server at: ./tests/tmp/redis.conf.33142.2
I20230705 00:46:04.793135 4570481 net_interfaces.cc:62] got interface lo0
I20230705 00:46:04.793172 4570481 net_interfaces.cc:104] Using Networker Interface: lo0
I20230705 00:46:04.793231 4570481 net_interfaces.cc:148] got ip 127.0.0.1
I20230705 00:46:04.793269 4570481 pika_server.cc:124] host: 127.0.0.1 port: 21212
I20230705 00:46:04.793359 4570481 pika_server.cc:71] Worker queue limit is 20100
I20230705 00:46:04.793462 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793594 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793740 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.793949 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.794072 4570481 net_kqueue.cc:23] create kqueue
I20230705 00:46:04.794322 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.794714 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.794955 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795193 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795436 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795675 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.795893 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:04.796175 4570481 pika_binlog.cc:80] Binlog: Manifest file not exist, we create a new one.
I20230705 00:46:07.581496 4570481 pika_slot.cc:63] db0 DB Success
I20230705 00:46:09.312949 4570481 pika_slot.cc:63] db1 DB Success
Cleanup: may take some time... OK
pika tests failed

@machinly
Copy link
Collaborator Author

machinly commented Jul 8, 2023

咱们这个测试是不是不能包含db数量大于1的情况
我将databases改成了8,然后跑./pikatests.sh basic就会报错

同步线下沟通信息。

启动失败的原因是修改 databases size 后启动慢,在命令执行时,pika 未就绪。
在 tests/support/server.tcl 116 行 after time 改大一点就可以了。

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

Successfully merging a pull request may close this issue.

8 participants