Merge "Adding pattern to check_remote_connectivity function"