-
Notifications
You must be signed in to change notification settings - Fork 935
Closed
Description
An issue to drop notes as I work towards a passing acceptance test suite.
=== RUN TestAccGithubBranchProtection_users
--- FAIL: TestAccGithubBranchProtection_users (13.05s)
testing.go:568: Step 3 error: ImportStateVerify attributes not equivalent. Difference is shown below. Top is actual, bottom is expected.
(map[string]string) (len=1) {
(string) (len=4) "etag": (string) (len=36) "W/\"1249392141f955935b119d7bcc3ed1ee\""
}
(map[string]string) (len=3) {
(string) (len=4) "etag": (string) (len=36) "W/\"59e3a2ee1759dbd9915637049703d51e\"",
(string) (len=22) "restrictions.0.users.#": (string) (len=1) "1",
(string) (len=29) "restrictions.0.users.35441184": (string) (len=20) "user_with_underscore"
}
FAIL
FAIL github.com/terraform-providers/terraform-provider-github/github 13.369s
? github.com/terraform-providers/terraform-provider-github [no test files]
--- FAIL: TestAccGithubBranchProtection_teams (21.34s)
testing.go:568: Step 0 error: Check failed: Check 3/15 error: diff "restrictions.teams": (-got +want)
[
+ "team-1-uvi3c",
+ "team-2-uvi3c",
]
testing.go:629: Error destroying resource! WARNING: Dangling resources
may exist. The full state and error is shown below.
Error: errors during apply: DELETE https://api.github.com/repos/terraformtesting/tf-acc-test-branch-prot-uvi3c/branches/master/protection: 404 Not Found []
State: github_branch_protection.master:
ID = tf-acc-test-branch-prot-uvi3c:master
provider = provider.github
branch = master
enforce_admins = true
etag = W/"e6fee270fe23e60dc4af9483f51df93a"
repository = tf-acc-test-branch-prot-uvi3c
require_signed_commits = false
required_pull_request_reviews.# = 1
required_pull_request_reviews.0.dismiss_stale_reviews = true
required_pull_request_reviews.0.dismissal_teams.# = 2
required_pull_request_reviews.0.dismissal_teams.1453152486 = team-1-uvi3c
required_pull_request_reviews.0.dismissal_teams.3625082629 = team-2-uvi3c
required_pull_request_reviews.0.dismissal_users.# = 0
required_pull_request_reviews.0.include_admins = false
required_pull_request_reviews.0.require_code_owner_reviews = false
required_pull_request_reviews.0.required_approving_review_count = 1
required_status_checks.# = 1
required_status_checks.0.contexts.# = 0
required_status_checks.0.include_admins = false
required_status_checks.0.strict = false
restrictions.# = 1
restrictions.0.teams.# = 2
restrictions.0.teams.1453152486 = team-1-uvi3c
restrictions.0.teams.3625082629 = team-2-uvi3c
restrictions.0.users.# = 0
FAIL
FAIL github.com/terraform-providers/terraform-provider-github/github 21.610s
? github.com/terraform-providers/terraform-provider-github [no test files]
--- FAIL: TestAccGithubUserInvitationAccepter_basic (6.27s)
testing.go:568: Step 1 error: unknown provider "github"
testing.go:629: Error destroying resource! WARNING: Dangling resources
may exist. The full state and error is shown below.
Error: config is invalid: 3 problems:
- Provider configuration not present: To work with github_repository_collaborator.test its original provider configuration at provider.github.main is required, but it has been removed. This occurs when a provider configuration is removed while objects created by that provider still exist in the state. Re-add the provider configuration to destroy github_repository_collaborator.test, after which you can remove the provider configuration again.
- Provider configuration not present: To work with github_user_invitation_accepter.test its original provider configuration at provider.github.invitee is required, but it has been removed. This occurs when a provider configuration is removed while objects created by that provider still exist in the state. Re-add the provider configuration to destroy github_user_invitation_accepter.test, after which you can remove the provider configuration again.
- Provider configuration not present: To work with github_repository.test its original provider configuration at provider.github.main is required, but it has been removed. This occurs when a provider configuration is removed while objects created by that provider still exist in the state. Re-add the provider configuration to destroy github_repository.test, after which you can remove the provider configuration again.
State: github_repository.test:
ID = tf-acc-test-collab-mq9fl
provider = provider.github.main
allow_merge_commit = true
allow_rebase_merge = true
allow_squash_merge = true
archived = false
default_branch = master
description =
etag = W/"11d2fa84600ab66576b778910469fc22"
full_name = terraformtesting/tf-acc-test-collab-mq9fl
git_clone_url = git://github.com/terraformtesting/tf-acc-test-collab-mq9fl.git
has_downloads = false
has_issues = false
has_projects = false
has_wiki = false
homepage_url =
html_url = https://github.com/terraformtesting/tf-acc-test-collab-mq9fl
http_clone_url = https://github.com/terraformtesting/tf-acc-test-collab-mq9fl.git
name = tf-acc-test-collab-mq9fl
private = false
ssh_clone_url = git@github.com:terraformtesting/tf-acc-test-collab-mq9fl.git
svn_url = https://github.com/terraformtesting/tf-acc-test-collab-mq9fl
template.# = 0
github_repository_collaborator.test:
ID = tf-acc-test-collab-mq9fl:github-terraform-test-collaborator
provider = provider.github.main
invitation_id = 23377366
permission = push
repository = tf-acc-test-collab-mq9fl
username = github-terraform-test-collaborator
github_user_invitation_accepter.test:
ID = 23377366
provider = provider.github.invitee
invitation_id = 23377366
FAIL
FAIL github.com/terraform-providers/terraform-provider-github/github 6.542s
? github.com/terraform-providers/terraform-provider-github [no test files]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels