[PATCH] test: Fix spurious test failure with systemd-resolved