-
Notifications
You must be signed in to change notification settings - Fork 15
CLI monitor not working #353
Comments
@mzuehlke, I have no idea at what point this has crept in, the monitor with LTA used to work just fine on CLI. Note that all tests run fine. I also tried accessing Hope this helps! |
@JanisGailis I can see progress and I can terminate the operation using the
When pressing |
Yes, no_op seems to be working for me as well. That's how I'm using it in both LTA and this test_monitor thing. |
@mzuehlke I found the culprit. In Please check out I'd like if the string is truly optional. If not, this must be documented somehow and the thing should fail with an exception. Also, when doing |
The branch doesn't have the monitor testing operations. The bug can easily be recreated by modifying the |
Janis, I'll have a look asap |
CTRL+C on Windows doesn't give a stack trace but:
|
Expected behavior
When invoking an operation that uses the monitor, the progress bar should fill in as the operation progresses and the percentage should be updated. When
ctrl+c
is pressed, the monitor should throw aCancellation
exception that can be caught by the operation such that a clean up is possible.Actual behavior
The progress bar on CLI does not progress when an operation that implements a monitor is invoked. Also, the
Cancellation
exception is not raised onctrl+c
.Steps to reproduce the problem
291-jg-op-checklist
alive
being printed every 2 seconds.ctrl+c
, observealive
still being printed.Alternatively:
Specifications
Cate development version on
291-jg-op-checklist
branch (up to date withmaster
)The text was updated successfully, but these errors were encountered: