Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Deployment complete!
"suspend_timeout_duration": "300s"
},
"display_name": "Test Postgres Project",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"suspend_timeout_duration": "300s"
},
"display_name": "Test Recreate",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"suspend_timeout_duration": "300s"
},
"display_name": "Original Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"suspend_timeout_duration": "300s"
},
"display_name": "Updated Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"suspend_timeout_duration": "300s"
},
"display_name": "Original Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Deployment complete!
"suspend_timeout_duration": "300s"
},
"display_name": "Original Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down Expand Up @@ -109,7 +109,7 @@ Deployment complete!
"suspend_timeout_duration": "300s"
},
"display_name": "Updated Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down Expand Up @@ -149,7 +149,7 @@ Deployment complete!
"suspend_timeout_duration": "300s"
},
"display_name": "Original Name",
"enable_pg_native_login": true,
"enable_pg_native_login": false,
"history_retention_duration": "604800s",
"owner": "[USERNAME]",
"pg_version": 16,
Expand Down
4 changes: 2 additions & 2 deletions libs/testserver/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ func (s *FakeWorkspace) PostgresProjectCreate(req Request, projectID string) Res
DisplayName: project.Spec.DisplayName,
PgVersion: project.Spec.PgVersion,
HistoryRetentionDuration: project.Spec.HistoryRetentionDuration,
EnablePgNativeLogin: true,
EnablePgNativeLogin: false,
Owner: TestUser.UserName,
BranchLogicalSizeLimitBytes: 8796093022208, // 8 TB (real API default)
SyntheticStorageSizeBytes: 0,
ForceSendFields: []string{"SyntheticStorageSizeBytes"},
ForceSendFields: []string{"EnablePgNativeLogin", "SyntheticStorageSizeBytes"},
}
if project.Spec.DefaultEndpointSettings != nil {
project.Status.DefaultEndpointSettings = &postgres.ProjectDefaultEndpointSettings{
Expand Down
Loading