Skip to content

Commit 10f944d

Browse files
committed
fix test
1 parent c0df096 commit 10f944d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

tests/examples_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"github.com/pulumi/providertest/pulumitest"
1313
"github.com/pulumi/providertest/pulumitest/opttest"
1414
"github.com/pulumi/pulumi/sdk/v3/go/auto/optdestroy"
15+
"github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview"
1516
"github.com/pulumi/pulumi/sdk/v3/go/auto/optup"
1617
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
1718
"github.com/pulumi/pulumi/sdk/v3/go/common/tokens"
@@ -46,6 +47,11 @@ func Test_RdsExample(t *testing.T) {
4647
assert.NoError(t, err)
4748
rdsUrn := resource.NewURN(tokens.QName(stackName), projectSettings.Name, "rdsmod:index:Module", "", "test-rds")
4849

50+
integrationTest.Preview(t, optpreview.Diff(), optpreview.ExpectNoChanges(),
51+
optpreview.ErrorProgressStreams(os.Stderr),
52+
optpreview.ProgressStreams(os.Stdout),
53+
)
54+
4955
// TODO [pulumi/pulumi-terraform-module#151] Property dependencies aren't flowing through
5056
integrationTest.Destroy(t, optdestroy.TargetDependents(), optdestroy.Target([]string{
5157
rdsUrn.Quote(),

tests/testdata/examples/aws-rds-example/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import * as vpcmod from './sdks/vpcmod';
1+
import * as vpcmod from '@pulumi/vpcmod';
22
import * as pulumi from '@pulumi/pulumi';
3-
import * as rdsmod from './sdks/rdsmod';
3+
import * as rdsmod from '@pulumi/rdsmod';
44
import * as aws from '@pulumi/aws';
55
import * as std from '@pulumi/std';
66

0 commit comments

Comments
 (0)