Draft: Adjust ai-gateway no add on scenario to verify service access token
What does this MR do and why?
Now that code suggestions are available with Duo Core (i.e. no add on), we also need to wait for CloudConnector::SyncServiceTokenWorker to get the token necessary for accessing AI features. Prior to this change it would not wait so the test job was flaky.
https://gitlab.com/gitlab-org/gitlab/-/issues/547883#note_2557058254
Screenshots or screen recordings
The failures in https://gitlab.com/gitlab-org/gitlab-qa/-/pipelines/1865722731 seem unrelated
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
Commits include Changelog:trailer -
I have evaluated the MR acceptance checklist for this MR.
Edited by Jay McCure