Skip to content

Commit

Permalink
Update shared testcases + fix EDGEDB_CLOUD_PROFILE handling (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke authored Nov 7, 2023
1 parent 56b22a6 commit d1f711b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/driver/src/conUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ async function parseConnectDsnAndArgs(
user: config.user,
password: config.password,
secretKey: config.secretKey,
cloudProfile: getEnv("EDGEDB_CLOUD_PROFILE"),
tlsCA: config.tlsCA,
tlsCAFile: config.tlsCAFile,
tlsSecurity: config.tlsSecurity,
Expand All @@ -521,6 +522,7 @@ async function parseConnectDsnAndArgs(
user: `'user' option`,
password: `'password' option`,
secretKey: `'secretKey' option`,
cloudProfile: `'EDGEDB_CLOUD_PROFILE' environment variable`,
tlsCA: `'tlsCA' option`,
tlsCAFile: `'tlsCAFile' option`,
tlsSecurity: `'tlsSecurity' option`,
Expand Down Expand Up @@ -559,7 +561,6 @@ async function parseConnectDsnAndArgs(
user: getEnv("EDGEDB_USER"),
password: getEnv("EDGEDB_PASSWORD"),
secretKey: getEnv("EDGEDB_SECRET_KEY"),
cloudProfile: getEnv("EDGEDB_CLOUD_PROFILE"),
tlsCA: getEnv("EDGEDB_TLS_CA"),
tlsCAFile: getEnv("EDGEDB_TLS_CA_FILE"),
tlsSecurity: getEnv("EDGEDB_CLIENT_TLS_SECURITY"),
Expand All @@ -576,7 +577,6 @@ async function parseConnectDsnAndArgs(
user: `'EDGEDB_USER' environment variable`,
password: `'EDGEDB_PASSWORD' environment variable`,
secretKey: `'EDGEDB_SECRET_KEY' environment variable`,
cloudProfile: `'EDGEDB_CLOUD_PROFILE' environment variable`,
tlsCA: `'EDGEDB_TLS_CA' environment variable`,
tlsCAFile: `'EDGEDB_TLS_CA_FILE' environment variable`,
tlsSecurity: `'EDGEDB_CLIENT_TLS_SECURITY' environment variable`,
Expand Down
2 changes: 1 addition & 1 deletion packages/driver/test/shared-client-testcases

0 comments on commit d1f711b

Please sign in to comment.