Skip to content

Commit

Permalink
Fix ProgramTest step paths in tests (#1473)
Browse files Browse the repository at this point in the history
These paths were not found but the error was silently ignored, see
pulumi/pulumi#14694.
  • Loading branch information
thomas11 authored Dec 1, 2023
1 parent 6365f32 commit 615041d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/examples_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func TestAccServicebusMigration(t *testing.T) {
RunUpdateTest: true,
EditDirs: []integration.EditDir{
{
Dir: "step2",
Dir: filepath.Join("servicebus-migration-test", "step2"),
Additive: true,
ExpectNoChanges: true,
},
Expand All @@ -122,7 +122,7 @@ func TestAccMsiRenamed(t *testing.T) {
RunUpdateTest: true,
EditDirs: []integration.EditDir{
{
Dir: "step2",
Dir: filepath.Join("msi-renamed-to-authorization", "step2"),
Additive: true,
ExpectNoChanges: true,
},
Expand Down
7 changes: 3 additions & 4 deletions examples/servicebus-migration-test/step2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("example", {
name: "my-servicebus",
});
const exampleResourceGroup = new azure.core.ResourceGroup("exampleservicebusmigration");

const exampleNamespace = new azure.servicebus.Namespace("example", {
resourceGroupName: exampleResourceGroup.name,
sku: "Standard",
Expand All @@ -14,7 +13,7 @@ const exampleNamespace = new azure.servicebus.Namespace("example", {
});
const serviceBusQueue = new azure.servicebus.Queue("example", {
enablePartitioning: true,
name: "tfex_servicebus_queue",
name: "servicebus-queue",
namespaceId: exampleNamespace.id,
});

Expand Down

0 comments on commit 615041d

Please sign in to comment.