From 2ac6917b9fc4a2b0fed4e3b92da5b99550e2eb45 Mon Sep 17 00:00:00 2001 From: Aleksander Zaruczewski Date: Fri, 8 Sep 2023 01:04:25 +0300 Subject: [PATCH] test(connectionpool): fix misuse of wrong user resource (#1348) --- .../service/connectionpool/connection_pool_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/sdkprovider/service/connectionpool/connection_pool_test.go b/internal/sdkprovider/service/connectionpool/connection_pool_test.go index c1ff47edf..39f55bf96 100644 --- a/internal/sdkprovider/service/connectionpool/connection_pool_test.go +++ b/internal/sdkprovider/service/connectionpool/connection_pool_test.go @@ -108,7 +108,7 @@ resource "aiven_pg" "bar" { maintenance_window_time = "10:00:00" } -resource "aiven_opensearch_user" "foo" { +resource "aiven_pg_user" "foo" { service_name = aiven_pg.bar.service_name project = data.aiven_project.foo.project username = "user-%s" @@ -124,7 +124,7 @@ resource "aiven_connection_pool" "foo" { service_name = aiven_pg.bar.service_name project = data.aiven_project.foo.project database_name = aiven_pg_database.foo.database_name - username = aiven_opensearch_user.foo.username + username = aiven_pg_user.foo.username pool_name = "test-acc-pool-%s" pool_size = 25 pool_mode = "transaction"