File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
plugins/node/opentelemetry-instrumentation-pg/test Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const memoryExporter = new InMemorySpanExporter();
6464const CONFIG = {
6565 user : process . env . POSTGRES_USER || 'postgres' ,
6666 password : process . env . POSTGRES_PASSWORD || 'postgres' ,
67- database : process . env . POSTGRES_DB || 'postgres ' ,
67+ database : process . env . POSTGRES_DB || 'otel_pg_database ' ,
6868 host : process . env . POSTGRES_HOST || 'localhost' ,
6969 port : process . env . POSTGRES_PORT
7070 ? parseInt ( process . env . POSTGRES_PORT , 10 )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ name: opentelemetry-nodejs-test-services
1212
1313services :
1414 cassandra :
15- image : bitnami/ cassandra:3
15+ image : cassandra:3
1616 environment :
1717 MAX_HEAP_SIZE : " 1G"
1818 HEAP_NEWSIZE : 400m
@@ -56,6 +56,8 @@ services:
5656
5757 mysql :
5858 image : mysql:5.7
59+ # No ARM64 image layer. See https://stackoverflow.com/a/65592942
60+ platform : linux/x86_64
5961 environment :
6062 MYSQL_USER : " otel"
6163 MYSQL_PASSWORD : " secret"
@@ -86,7 +88,7 @@ services:
8688 # https://github.com/docker-library/docs/blob/master/postgres/README.md#how-to-extend-this-image
8789 image : postgres:16-alpine
8890 ports :
89- - " 5432 :5432"
91+ - " 54320 :5432"
9092 environment :
9193 POSTGRES_HOST_AUTH_METHOD : " trust"
9294 POSTGRES_USER : " postgres"
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ ORACLE_PASSWORD=secret
3030ORACLE_SERVICENAME = FREEPDB1
3131POSTGRES_DB = otel_pg_database
3232POSTGRES_HOST = localhost
33- POSTGRES_PORT = 5432
33+ POSTGRES_PORT = 54320
3434POSTGRES_USER = postgres
3535POSTGRES_PASSWORD = postgres
You can’t perform that action at this time.
0 commit comments