Skip to content

Commit 8a2ff40

Browse files
skip under RAW_STATE_DELTA_ENABLED
1 parent 23a824c commit 8a2ff40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/pf/tests/diff_test/diff_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package tfbridgetests
33
import (
44
"context"
55
"math/big"
6+
"os"
67
"testing"
78

89
"github.com/hashicorp/terraform-plugin-framework/resource"
@@ -14,6 +15,7 @@ import (
1415

1516
pb "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/providerbuilder"
1617
crosstests "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tests/internal/cross-tests"
18+
"github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil"
1719
)
1820

1921
func TestPFSimpleNoDiff(t *testing.T) {
@@ -182,6 +184,10 @@ func TestPFDetailedDiffStringAttribute(t *testing.T) {
182184

183185
func TestPFDetailedDiffDynamicType(t *testing.T) {
184186
t.Parallel()
187+
if d, ok := os.LookupEnv("PULUMI_RAW_STATE_DELTA_ENABLED"); ok && cmdutil.IsTruthy(d) {
188+
// TODO[pulumi/pulumi-terraform-bridge#3078]
189+
t.Skip("Does not work with PULUMI_RAW_STATE_DELTA_ENABLED=true")
190+
}
185191

186192
attributeSchema := rschema.Schema{
187193
Attributes: map[string]rschema.Attribute{

0 commit comments

Comments
 (0)