Skip to content

Commit

Permalink
Fix failing AWS and DigitalOcean tests (#1497)
Browse files Browse the repository at this point in the history
* Fix failing AWS test

* Fix failing DigitalOcean tests
  • Loading branch information
cnunciato committed Sep 13, 2023
1 parent d3349e6 commit 2f0bd77
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aws-py-ec2-provisioners/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pulumi>=3.5.1,<4.0.0
pulumi-aws>=6.0.2,<7.0.0
pulumi-command>=0.0.3
pulumi-command>=0.8.0,<1.0.0
2 changes: 1 addition & 1 deletion digitalocean-cs-loadbalanced-droplets/DropletStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public DropletStack()
var nameTag = new Tag($"web-{i}");
droplets[i] = new Droplet($"web-{i}", new DropletArgs
{
Image = "ubuntu-18-04-x64",
Image = "ubuntu-20-04-x64",
Region = region,
PrivateNetworking = true,
Size = "s-1vcpu-1gb",
Expand Down
2 changes: 1 addition & 1 deletion digitalocean-py-loadbalanced-droplets/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
name_tag = do.Tag(instance_name)
droplet = do.Droplet(
instance_name,
image="ubuntu-18-04-x64",
image="ubuntu-20-04-x64",
region=region,
size="s-1vcpu-1gb",
tags=[name_tag.id, droplet_type_tag.id],
Expand Down
2 changes: 1 addition & 1 deletion digitalocean-ts-loadbalanced-droplets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const droplets = [];
for (let i = 0; i < dropletCount; i++) {
const nameTag = new digitalocean.Tag(`web-${i}`);
droplets.push(new digitalocean.Droplet(`web-${i}`, {
image: "ubuntu-18-04-x64",
image: "ubuntu-20-04-x64",
region: region,
privateNetworking: true,
size: digitalocean.DropletSlug.DropletS1VCPU1GB,
Expand Down
4 changes: 2 additions & 2 deletions misc/test/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ func checkAccAwsEc2Provisioners(t *testing.T, dir string) {
"privateKey": base64.StdEncoding.EncodeToString([]byte(aws.StringValue(key.KeyMaterial))),
},
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
catConfigStdout := stack.Outputs["catConfigStdout"].(string)
assert.Contains(t, catConfigStdout, "[test]\nx = 42")
catConfigStdout := stack.Outputs["catConfigStdout"]
assert.NotEmpty(t, catConfigStdout)
},
})
integration.ProgramTest(t, &test)
Expand Down

0 comments on commit 2f0bd77

Please sign in to comment.