CLOUDSTACK-7331: Fixed issue in test_persistent_networks.py