Skip to content

Commit

Permalink
Update test signature
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Jul 18, 2024
1 parent e7933f1 commit 5db326b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ func testProviderUpgrade(t *testing.T, dir string, opts *testProviderUpgradeOpti
if opts != nil && opts.region != "" {
test.SetConfig("aws:region", opts.region)
}
result := providertest.PreviewProviderUpgrade(
test, providerName, baselineVersion, optproviderupgrade.DisableAttach(),
)
result := providertest.PreviewProviderUpgrade(t, test, providerName, baselineVersion,
optproviderupgrade.DisableAttach())
assertpreview.HasNoReplacements(t, result)
}

Expand Down Expand Up @@ -134,7 +133,7 @@ func testProviderCodeChanges(t *testing.T, opts *testProviderCodeChangesOptions)
pt.Up()
grptLog := pt.GrpcLog()
grpcLogPath := filepath.Join(cacheDir, "grpc.json")
pt.T().Logf("writing grpc log to %s", grpcLogPath)
t.Logf("writing grpc log to %s", grpcLogPath)
grptLog.WriteTo(grpcLogPath)

e := pt.ExportStack()
Expand Down Expand Up @@ -182,7 +181,7 @@ func pulumiUpWithSnapshot(t *testing.T, pulumiTest *pulumitest.PulumiTest) {
return
}

pulumiTest.T().Log("Plan is not equal, re-running up")
t.Log("Plan is not equal, re-running up")
}
pulumiTest.Preview(optpreview.Plan(planFile))
upResult := pulumiTest.Up(optup.Plan(planFile))
Expand Down

0 comments on commit 5db326b

Please sign in to comment.