Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

TestAccBitbucketDefaultReviewers_basic fails #35

Open
@kmoe

Description

@kmoe

The nightly acceptance tests were all green until 30th May 2019, when when TestAccBitbucketDefaultReviewers_basic started failing. It has been failing ever since.

From a local run:

$ make testacc
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v  -timeout 120m
?   	github.com/terraform-providers/terraform-provider-bitbucket	[no test files]
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccBitbucketDefaultReviewers_basic
--- FAIL: TestAccBitbucketDefaultReviewers_basic (1.15s)
    testing.go:568: Step 0 error: errors during apply:
        
        Error: API Error: 400 2.0/repositories/terraform/test-repo-default-reviewers Repository with this Slug and Owner already exists.
        
          on /tmp/tf-test148950794/main.tf line 2:
          (source code not available)
        
        
    testing.go:629: Error destroying resource! WARNING: Dangling resources
        may exist. The full state and error is shown below.
        
        Error: Check failed: Not found bitbucket_default_reviewers.test_reviewers
        
        State: <no state>
=== RUN   TestAccBitbucketHook_basic
--- PASS: TestAccBitbucketHook_basic (8.27s)
=== RUN   TestAccBitbucketRepository_basic
--- PASS: TestAccBitbucketRepository_basic (3.33s)
=== RUN   TestAccBitbucketRepository_camelcase
--- PASS: TestAccBitbucketRepository_camelcase (3.64s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-bitbucket/bitbucket	16.402s
make: *** [GNUmakefile:17: testacc] Error 1

Version

Failure occurs both on tip of master (f2f7bd2) and after Terraform 0.12 upgrade (1ecfeb2).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions