From 9ba89d0b73f74db5ed79b8af5ba91735fef599d5 Mon Sep 17 00:00:00 2001 From: Jeffrey Held Date: Tue, 5 Mar 2024 09:53:38 +0100 Subject: [PATCH] test: checking things --- internal/sdkprovider/service/pg/pg.go | 2 +- internal/sdkprovider/service/redis/redis_test.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/sdkprovider/service/pg/pg.go b/internal/sdkprovider/service/pg/pg.go index 48a38e546..69876bab3 100644 --- a/internal/sdkprovider/service/pg/pg.go +++ b/internal/sdkprovider/service/pg/pg.go @@ -165,7 +165,7 @@ func resourceServicePGUpdate(ctx context.Context, d *schema.ResourceData, m inte task := taskI.(*aiven.ServiceTaskResponse) if !*task.Task.Success { return diag.Errorf( - "PG service upgrade check error, version upgrade from %s to %s, result: %s", + "PG service upgrade task failed when checking version upgrade from %s to %s, result: %s", task.Task.SourcePgVersion, task.Task.TargetPgVersion, task.Task.Result) } diff --git a/internal/sdkprovider/service/redis/redis_test.go b/internal/sdkprovider/service/redis/redis_test.go index 7fd652ab7..71b6d1102 100644 --- a/internal/sdkprovider/service/redis/redis_test.go +++ b/internal/sdkprovider/service/redis/redis_test.go @@ -74,7 +74,7 @@ data "aiven_project" "foo" { resource "aiven_redis" "bar" { project = data.aiven_project.foo.project cloud_name = "google-europe-west1" - plan = "startup-4" + plan = "hobbyist" service_name = "test-acc-sr-%s" maintenance_window_dow = "monday" maintenance_window_time = "10:00:00" @@ -114,7 +114,7 @@ data "aiven_project" "foo" { resource "aiven_redis" "bar" { project = data.aiven_project.foo.project cloud_name = "google-europe-west1" - plan = "startup-4" + plan = "hobbyist" service_name = "test-acc-sr-%s" maintenance_window_dow = "monday" maintenance_window_time = "10:00:00" @@ -150,7 +150,7 @@ data "aiven_project" "foo" { resource "aiven_redis" "bar" { project = data.aiven_project.foo.project cloud_name = "google-europe-west1" - plan = "startup-4" + plan = "hobbyist" service_name = "test-acc-sr-%s" maintenance_window_dow = "monday" maintenance_window_time = "10:00:00" @@ -234,7 +234,7 @@ data "aiven_project" "foo" { resource "aiven_redis" "bar" { project = data.aiven_project.foo.project cloud_name = "google-europe-west1" - plan = "startup-4" + plan = "hobbyist" service_name = "test-acc-sr-%s" maintenance_window_dow = "monday" maintenance_window_time = "10:00:00" @@ -265,7 +265,7 @@ data "aiven_project" "foo" { resource "aiven_redis" "bar" { project = data.aiven_project.foo.project cloud_name = "google-europe-west1" - plan = "startup-4" + plan = "hobbyist" service_name = "test-acc-sr-%s" maintenance_window_dow = "monday" maintenance_window_time = "10:00:00"