Add test for some aspects of job queue
This new opcode and gnt-debug sub-command test some aspects of the job queue, including the status of a job. The bug fixed in commit 2034c70d was identified using this test. A future patch will run this test automatically from the QA scripts. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- lib/cmdlib.py 142 additions, 0 deletionslib/cmdlib.py
- lib/constants.py 12 additions, 0 deletionslib/constants.py
- lib/mcpu.py 1 addition, 0 deletionslib/mcpu.py
- lib/opcodes.py 13 additions, 0 deletionslib/opcodes.py
- man/gnt-debug.sgml 13 additions, 0 deletionsman/gnt-debug.sgml
- scripts/gnt-debug 154 additions, 0 deletionsscripts/gnt-debug
- test/ganeti.cmdlib_unittest.py 9 additions, 0 deletionstest/ganeti.cmdlib_unittest.py
Loading
Please register or sign in to comment