-
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
fix: clean-dir tcl #2507
fix: clean-dir tcl #2507
Conversation
建议加一个参数控制是否清理,而不是修改脚本。 |
It is recommended to add a parameter to control whether to clean or not, rather than modifying the script. |
done |
done |
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
在执行
./pikatest.sh
跑TCL
测试的时候,测试过程中产生的数据会存放在相应的文件夹下面,如果你希望在测试完之后立即删除文件夹,可以把cleanup
注释打开,大多数时候在测试过程中发现了问题,我们需要在指定文件夹下面进行问题追溯,所以默认情况下cleanup
是注释掉的,为了区分测试建立的文件夹和平常使用Pika
是建立的DB
文件夹,在TCL
测试中建立的文件夹后面接了数字,例如db10233
, 所以删除这部分文件夹的时候使用的通配符避免误删了正常使用Pika
的DB
文件夹When running the TCL test, the data generated during the test will be stored in the corresponding folder. If you want to delete the temporary folder generated by the test immediately after the test is finished, you can use './pikatest.sh all clean '. Add a clean parameter, most of the time problems are found in the test process, we need to trace the problem under the specified folder, in order to distinguish the folder created in the test and the DB folder created by ordinary Pika, the folder created in the TCL test is followed by a number. For example, db10233, so the wildcard character used when deleting this part of the folder to avoid accidentally deleting the DB folder that normally uses Pika
fix: #2454