cloud sql pg

This commit is contained in:
duwenxin
2026-02-10 09:16:56 -05:00
parent 0582a8293c
commit a0fd4ef58e

View File

@@ -278,6 +278,8 @@ func TestPreCheckToolEndpoints(t *testing.T) {
body: `{"project": "p1", "instance": "instance-notfound", "targetDatabaseVersion": "POSTGRES_18"}`,
want: `{"error":"failed to access GCP resource: googleapi: got HTTP response code 403 with body: Not authorized to access instance\n"}`,
expectError: true,
errorStatus: http.StatusInternalServerError,
errorMsg: "failed to access GCP resource: googleapi: got HTTP response code 403",
},
{
name: "missing required parameter - project",