You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix snippet integration tests for GitLab 13.0 #1105
I was working on something unrelated and snippet tests kept failing.. turns out that when GitLab introduced versioned snippets in 13.0, along the way there's been some changes in the create/update API behavior that broke the functional tests (maybe this one https://gitlab.com/gitlab-org/gitlab/-/commit/ac3438f5c2a4da780e730660bccea5f4ac12483d).
Activity
max-wittig commentedon May 28, 2020
This does look like a GitLab error. Renaming the snippet via API deletes it's contents.
max-wittig commentedon May 28, 2020
I reproduced it with curl and create an upstream issue: https://gitlab.com/gitlab-org/gitlab/-/issues/219348
max-wittig commentedon May 29, 2020
This will be fixed in 13.1. by GitLab. It would say we leave it in our tests like this for now or should we add allow_fail? @nejch
nejch commentedon Oct 12, 2020
Looks like I forgot about this one, but the tests are included as of #1205 :)