integration: fix flaky TestSwarmServiceWithGroup Upstream-commit: 62faeb5d93b036a4f4ff6bbade3c99930bff1ad9 Component: engine