Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed that partitions in paused status could not be stopped
Details: * Fixed issue that partitions in 'paused' status could not be stopped. As part of that, redesigned the start_partition(), stop_partition() and wait_for_transition_completion() methods to use a simple state machine. This will cause any bad statuses that happen on the way to be raised as exceptions (they were previously returned). (issue #642) * Skipped function test cases that start or stop the partition, because the zhmcclient mock support does not support async partition start/stop. * Added end2end testcases in test_zhmc_partition_state() for status 'paused'. * Changed type of mocked test partition in function testcases in test_func_partition.py from linux to ssc because that allows getting the partition into status 'active' instead of 'paused'. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
b003f57
commit 4ca20ab
Showing
8 changed files
with
555 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.