Trivial: Fix test_get_cluster_group_type on x86 or Win32
One unit test is using the wrong type, unsigned long long instead of long, for which reason it will fail on Linux x86 or Windows, where the size of those types do not match. Change-Id: If49e57ada8d367f537710974ea59728d20720275 Closes-Bug: 1850770
This commit is contained in:
parent
9c9fd20fce
commit
a30eeb8ed9
|
@ -503,7 +503,7 @@ class ClusApiUtilsTestCase(test_base.OsWinBaseTestCase):
|
|||
self._clusapi_utils.get_property_list_entry(
|
||||
w_const.CLUSREG_NAME_GRP_TYPE,
|
||||
w_const.CLUSPROP_SYNTAX_LIST_VALUE_DWORD,
|
||||
ctypes.c_ulonglong(w_const.ClusGroupTypeVirtualMachine)),
|
||||
ctypes.c_ulong(w_const.ClusGroupTypeVirtualMachine)),
|
||||
]
|
||||
|
||||
prop_list = self._clusapi_utils.get_property_list(prop_entries)
|
||||
|
|
Loading…
Reference in New Issue