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:
Lucian Petrut 2020-02-17 17:10:19 +02:00
parent 9c9fd20fce
commit a30eeb8ed9
1 changed files with 1 additions and 1 deletions

View File

@ -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)