Skip to content

test: use named roles in concurrency acceptance test#32

Merged
sionsmith merged 1 commit into
mainfrom
fix/concurrent-organization-role-acceptance
Jul 19, 2026
Merged

test: use named roles in concurrency acceptance test#32
sionsmith merged 1 commit into
mainfrom
fix/concurrent-organization-role-acceptance

Conversation

@sionsmith

Copy link
Copy Markdown
Contributor

Summary

  • model the concurrent organization-role acceptance scenario with three named resources
  • preserve normal Terraform parallel scheduling while avoiding terraform-plugin-testing v1.6 string-index validation failures

Context

The WorkOS create requests succeeded in both live runs, but the test framework rejects string-keyed for_each addresses during its internal state validation. Named resources exercise the same provider concurrency path and can be asserted by the current harness.

Testing

  • go test -race ./internal/provider -run TestAccOrganizationRoleResource_Concurrent -count=1
  • go vet ./internal/provider

Follow-up to #29 and #31.

@sionsmith
sionsmith merged commit adce338 into main Jul 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant