Skip to content

Commit

Permalink
Add special characters to postgres online store test
Browse files Browse the repository at this point in the history
Signed-off-by: Job Almekinders <job.almekinders@teampicnic.com>
  • Loading branch information
job-almekinders committed Aug 8, 2024
1 parent 30d2606 commit 6c2073b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, project_name: str, **kwargs):
self.container = PostgresContainer(
"postgres:16",
username="root",
password="test",
password="test!@#$%",
dbname="test",
).with_exposed_ports(5432)

Expand All @@ -26,7 +26,7 @@ def create_online_store(self) -> Dict[str, str]:
"host": "localhost",
"type": "postgres",
"user": "root",
"password": "test",
"password": "test!@#$%",
"database": "test",
"port": self.container.get_exposed_port(5432),
}
Expand All @@ -42,7 +42,7 @@ def __init__(self, project_name: str, **kwargs):
self.container = (
DockerContainer("pgvector/pgvector:pg16")
.with_env("POSTGRES_USER", "root")
.with_env("POSTGRES_PASSWORD", "test")
.with_env("POSTGRES_PASSWORD", "test!@#$%")
.with_env("POSTGRES_DB", "test")
.with_exposed_ports(5432)
.with_volume_mapping(
Expand All @@ -65,7 +65,7 @@ def create_online_store(self) -> Dict[str, Any]:
"host": "localhost",
"type": "postgres",
"user": "root",
"password": "test",
"password": "test!@#$%",
"database": "test",
"pgvector_enabled": True,
"vector_len": 2,
Expand Down

0 comments on commit 6c2073b

Please sign in to comment.