pingcap / tidb-lightning

This repository has been moved to https://github.com/pingcap/br
Apache License 2.0
142 stars 66 forks source link

test: fix can not kill tiflash process by name #499

Closed glorv closed 3 years ago

glorv commented 3 years ago

What problem does this PR solve?

Fix test failure due to can't restart tiflash

What is changed and how it works?

The newest tiflash process is "TiFlashMain", so use killall tiflash cannot kill it.

ps aux |grep tiflash
root      12530 15.5  0.8 3316776 1714152 pts/4 Sl   11:23   0:10 bin/tiflash server --config-file=/tmp/lightning_test_result/tiflash.toml

ps -p 12530 -o comm=
TiFlashMain

Check List

Tests

Side effects

Related changes

lance6716 commented 3 years ago

LGTM