Skip to content

Commit 935a460

Browse files
committed
add skip and comment for bug
1 parent cb25492 commit 935a460

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

statecheck/expect_identity_value_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"regexp"
88
"testing"
99

10+
"github.com/hashicorp/go-version"
1011
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
1112
"github.com/hashicorp/terraform-plugin-go/tftypes"
1213

@@ -112,6 +113,12 @@ func TestExpectIdentityValue_CheckState_String(t *testing.T) {
112113
r.Test(t, r.TestCase{
113114
TerraformVersionChecks: []tfversion.TerraformVersionCheck{
114115
tfversion.SkipBelow(tfversion.Version1_12_0),
116+
// TODO: There is currently a bug in Terraform v1.12.0-alpha20250319 that causes a panic
117+
// when refreshing a resource that has an identity stored via protocol v6.
118+
//
119+
// We can remove this skip once the bug fix is merged/released:
120+
// - https://github.com/hashicorp/terraform/pull/36756
121+
tfversion.SkipIf(version.Must(version.NewVersion("1.12.0-alpha20250319"))),
115122
},
116123
ProtoV6ProviderFactories: map[string]func() (tfprotov6.ProviderServer, error){
117124
"examplecloud": examplecloudProviderWithResourceIdentity(),

0 commit comments

Comments
 (0)