aptible / terraform-provider-aptible

The official Terraform provider for Aptible Deploy
https://registry.terraform.io/providers/aptible/aptible/latest
10 stars 13 forks source link

fix(database): set disk size in provision op #118

Closed neurosnap closed 4 months ago

joshraker commented 4 months ago

Can you run the failed test and share the results here to confirm it's working before we send it through integration again?

neurosnap commented 4 months ago

BEFORE

@erock-mpb.local terraform-provider-aptible git:(master) make testacc TESTARGS='-run TestAccResourceDatabase_scale'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -count 1 -parallel 12 -timeout 30m -run TestAccResourceDatabase_scale
?       github.com/aptible/terraform-provider-aptible   [no test files]
=== RUN   TestAccResourceDatabase_scale
=== PAUSE TestAccResourceDatabase_scale
=== CONT  TestAccResourceDatabase_scale
HERE WE ARE
DISK SIZE SET
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Done!
    resource_database_test.go:203: Step 1/2 error: Check failed: Check 7/11 error: aptible_database.test: Attribute 'disk_size' expected "12", got "10"
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
--- FAIL: TestAccResourceDatabase_scale (236.60s)
FAIL
FAIL    github.com/aptible/terraform-provider-aptible/aptible   237.237s
FAIL
make: *** [testacc] Error 1

AFTER

@erock-mpb.local terraform-provider-aptible git:(master) ✗ make testacc TESTARGS='-run TestAccResourceDatabase_scale'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -count 1 -parallel 12 -timeout 30m -run TestAccResourceDatabase_scale
?       github.com/aptible/terraform-provider-aptible   [no test files]
=== RUN   TestAccResourceDatabase_scale
=== PAUSE TestAccResourceDatabase_scale
=== CONT  TestAccResourceDatabase_scale
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Done!
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
Still creating...
--- PASS: TestAccResourceDatabase_scale (258.57s)
PASS
ok      github.com/aptible/terraform-provider-aptible/aptible   259.211s