File tree Expand file tree Collapse file tree
tests/integration/container/tests/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import { OTLPMetricExporter } from "@opentelemetry/exporter-metrics-otlp-grpc";
3939import { logger } from "../../../../../common/logutils" ;
4040import pkgPg from "pg" ;
4141import { ConnectionOptions , createConnection } from "mysql2/promise" ;
42+ import { readFileSync } from "fs" ;
4243
4344export class TestEnvironment {
4445 private static env ?: TestEnvironment ;
@@ -113,7 +114,10 @@ export class TestEnvironment {
113114 password : info ?. databaseInfo . password ,
114115 database : info ?. databaseInfo . defaultDbName ,
115116 query_timeout : 3000 ,
116- connectionTimeoutMillis : 3000
117+ connectionTimeoutMillis : 3000 ,
118+ ssl : {
119+ ca : readFileSync ( "/app/global-bundle.pem" ) . toString ( )
120+ }
117121 } ) ;
118122 await client . connect ( ) ;
119123
You can’t perform that action at this time.
0 commit comments