Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

databases: Update Postgres versions in acceptance tests. #1002

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

andrewsomething
Copy link
Member

We have acceptance tests failing:

    datasource_database_cluster_test.go:20: Step 1/2 error: Error running apply: exit status 1
        Error: Error creating database cluster: POST https://api.digitalocean.com/v2/databases: 422 (request "f1627cab-76fe-4d38-b86c-1f6460daed6a") invalid cluster engine version
          with digitalocean_database_cluster.foobar,
          on terraform_plugin_test.tf line 2, in resource "digitalocean_database_cluster" "foobar":
           2: resource "digitalocean_database_cluster" "foobar" {
--- FAIL: TestAccDataSourceDigitalOceanDatabaseCluster_Basic (0.91s)

Looks like version 11 has been EOLed for Postgres:

$ doctl databases options versions 
Engine     Versions
mysql      [8]
pg         [12,13,14,15]
redis      [7]
mongodb    [4.4,5.0,6.0]

@andrewsomething andrewsomething requested a review from a team July 3, 2023 19:24
Copy link
Member

@danaelhe danaelhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch 👍

@andrewsomething andrewsomething merged commit d665002 into main Jul 3, 2023
2 checks passed
@andrewsomething andrewsomething deleted the asb/act-test-pg-version branch July 3, 2023 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants