Tests: Fix inspur tests with hash randomization
These tests rely on randomly ordered lists.
@@ -327,6 +327,10 @@ class InStorageMCSISCSIDriverTestCase(test.TestCase):
# Check the multipath host-volume map return value
for k, v in exp_m_path['data'].items():
+ if k in ('target_iqns', 'target_portals'):
+ # These are randomly ordered lists
+ six.assertCountEqual(self, v, ret['data'][k])
+ else:
self.assertEqual(v, ret['data'][k])
ret = self.iscsi_driver._assistant.get_host_from_connector(
