Skip to content

Commit

Permalink
Allow running gamelift test in parallel (#4609)
Browse files Browse the repository at this point in the history
Previously the gamelift test was using hardcoded names for the
resources. This means only one test run can be executed at a time in CI.
Otherwise one will fail with resource exists exceptions.

This fixes that by letting pulumi generate the names of the resources.

Fixes issues like #4593
  • Loading branch information
flostadler authored Oct 7, 2024
1 parent 525a130 commit f2b6e3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions provider/test-programs/gamelift-typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const config = new pulumi.Config();
const customData = config.require("customData");

const matchmakingRuleSetResource = new aws.gamelift.MatchmakingRuleSet("matchmakingRuleSetResource", {
name: "RuleSetName",
ruleSetBody: `
{
"name": "players_vs_monster_5_vs_1",
Expand All @@ -29,7 +28,6 @@ const matchmakingRuleSetResource = new aws.gamelift.MatchmakingRuleSet("matchmak
const mc = new aws.gamelift.MatchmakingConfiguration("mc", {
acceptanceRequired: false,
flexMatchMode: "STANDALONE",
name: "Name",
ruleSetName: matchmakingRuleSetResource.name,
requestTimeoutSeconds: 10,
gameSessionData: "",
Expand Down

0 comments on commit f2b6e3c

Please sign in to comment.