Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of parameter enforce_type
Oslo.config deprecated parameter enforce_type and change its default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0. Nova peridic py35 job failure due to the DeprecationWarning: "Using the 'enforce_type' argument is deprecated in version '4.0' and will be removed in version '5.0': The argument enforce_type has changed its default value to True and then will be removed completely."[1] So need clean up usage of enforce_type. Note this patch also change enforce_type from False to default value True in test__get_node_console_with_reset_wait_timeout. We should test as runtime, we can use float type to test when config option serial_console_state_timeout is float. [1] http://logs.openstack.org/periodic/periodic-nova-py35-with-oslo-master/6eeea0f/testr_results.html.gz Related--Bug: #1517839 Change-Id: I94915a5c6abbbb739c597025272dc0e25d3ba2ec
- Loading branch information
Showing
3 changed files
with
4 additions
and
10 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
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