Replace deprecated testutil.ErrorContains() Upstream-commit: 9bd5d9912f0cb4fe22b994ac1e7e10038e3be65a Component: engine