terraform-provider-gitlab icon indicating copy to clipboard operation
terraform-provider-gitlab copied to clipboard

Sporadic issue in project acceptance tests

Open timofurrer opened this issue 3 years ago • 0 comments

A test just randomly failed for the first time (at least for me ^^):

see https://github.com/gitlabhq/terraform-provider-gitlab/runs/6970761305?check_suite_focus=true#step:6:578

=== CONT  TestAccGitlabProject_basic
    resource_gitlab_project_test.go:122: Skipping step 6/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 7/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 8/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 10/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 11/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 12/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Skipping step 14/19 due to SkipFunc
    resource_gitlab_project_test.go:122: Step 15/19, expected an error with pattern, no match on: Error running apply: exit status 1
        Error: POST http://127.0.0.1:8080/api/v4/projects: 400 {message: {base: [The project is still being deleted. Please try again later.]}}
          with gitlab_project.foo,
          on terraform_plugin_test.tf line 2, in resource "gitlab_project" "foo":
           2: resource "gitlab_project" "foo" {

May it be due to test parallelization?

timofurrer avatar Jun 20 '22 17:06 timofurrer