Replies: 1 comment 6 replies
-
Hmm @nickbroon I'm not 100% but we're also seeing a lot of flakiness in our functional tests when it comes to files/commits, branches, and especially merge requests. It does sometimes take a bit of time for GitLab to return a state we really want, maybe in this case there's a lot of moving parts involved between GitLab/sidekiqs/Gitaly etc. So I'd say that you might need to loop until a timeout waiting for the right condition sometimes. Have you tried that? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, but not always, when I create a branch and then protect it using the
protected_branches
api thebranch.protected
attribute will still befalse
. This seems inconsistent at best and can lead to problems with other code that checks thebranch.protected
attribute.For example I'll see the branch
protected
attribute isfalse
while there is definitely protect branch state:
I create the branch and protected branch state like this
Beta Was this translation helpful? Give feedback.
All reactions