Add a dynamic wait to the project membership required for push rules test
-
Please check this box if this contribution uses AI-generated content as outlined in the GitLab DCO & CLA
Worked on fixing the TestAccGitlabBranchProtection_allowSecificUserAndNoRoleToPush
flakey test by extending the wait time dynamically. Instead of using a 10s static wait for the membership to apply, we now check every 3 seconds to determine if the membership is present, and fail out after 30 seconds.
Edited by 🤖 GitLab Bot 🤖