Skip to content

Fix snippet integration tests for GitLab 13.0 #1105

Closed

Description

@nejch

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

  1. self-assigned this
    on May 28, 2020
  2. max-wittig commented on May 28, 2020

    @max-wittig
    Member

    This does look like a GitLab error. Renaming the snippet via API deletes it's contents.

  3. max-wittig commented on May 28, 2020

    @max-wittig
    Member

    I reproduced it with curl and create an upstream issue: https://gitlab.com/gitlab-org/gitlab/-/issues/219348

  4. max-wittig commented on May 29, 2020

    @max-wittig
    Member

    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

  5. nejch commented on Oct 12, 2020

    @nejch
    MemberAuthor

    Looks like I forgot about this one, but the tests are included as of #1205 :)

  6. locked as resolved and limited conversation to collaborators on Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions