Launcher通用启动器-测试用例

启动器常见测试用例介绍

Posted by guanyang on 2022-06-08
Words 193 and Reading Time 1 Minutes
Viewed Times

启动超时

LAUNCHER_START_TIMEOUT=3 ./launcher.sh start -n test1
确认是否超时退出

退出超时

LAUNCHER_STOP_TIMEOUT=3 ./launcher.sh start -n test1

启动时被其他用户kill(主程序运行,健康检查中)

./launcher.sh start -n test1

启动完毕后被其他用户kill

./launcher.sh start -n test1

启动时被Ctrl+C终止(未运行主程序)

./launcher.sh start -n test1

启动时被Ctrl+C终止(主程序运行,健康检查中)

./launcher.sh start -n test1

启动完毕后被Ctrl+C终止

./launcher.sh start -n test1

启动时被kill -9

./launcher.sh start -n test1

启动时被launcher stop 停止

./launcher.sh start -n test1
./launcher.sh stop -n test1

checkready超时(暂时失效)

LAUNCHER_START_TIMEOUT=15 ./launcher.sh start -n test1 -jo '-DisReady=false'

确认LAUNCHER_LOG_ON_CONSOLE不打印日志是否生效

LAUNCHER_LOG_ON_CONSOLE=false ./launcher.sh start -n test1


If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !

...

...

00:00
00:00