mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-07 18:58:52 +00:00
Warn about second Ctrl+C
This commit is contained in:
parent
cd155af85e
commit
12afd8d1a6
@ -283,6 +283,10 @@ class ConsoleTank:
|
||||
retcode = self.core.plugins_post_process(retcode)
|
||||
|
||||
except KeyboardInterrupt as ex:
|
||||
sys.stdout.write(RealConsoleMarkup.YELLOW)
|
||||
self.log.info("Do not press Ctrl+C again, the test will be broken otherwise")
|
||||
sys.stdout.write(RealConsoleMarkup.RESET)
|
||||
sys.stdout.write(RealConsoleMarkup.TOTAL_RESET)
|
||||
self.signal_count += 1
|
||||
self.log.debug("Caught KeyboardInterrupt: %s", traceback.format_exc(ex))
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user