updated env vars

This commit is contained in:
Daniel Hougaard
2025-08-12 01:06:45 +04:00
parent e173ff3828
commit 372537f0b6
2 changed files with 8 additions and 8 deletions
@@ -540,9 +540,9 @@ describe("Secret Rotations", async () => {
name: "OracleDB (19.3) Secret Rotation", name: "OracleDB (19.3) Secret Rotation",
skippable: true, skippable: true,
dbCredentials: { dbCredentials: {
password: process.env.E2E_TEST_ORACLE_DB_PASSWORD!, password: process.env.E2E_TEST_ORACLE_DB_19_PASSWORD!,
host: process.env.E2E_TEST_ORACLE_DB_HOST!, host: process.env.E2E_TEST_ORACLE_DB_19_HOST!,
username: process.env.E2E_TEST_ORACLE_DB_USERNAME!, username: process.env.E2E_TEST_ORACLE_DB_19_USERNAME!,
port: 1521, port: 1521,
database: "ORCLPDB1" database: "ORCLPDB1"
}, },
@@ -666,7 +666,7 @@ describe("Secret Rotations", async () => {
const shouldSkip = () => { const shouldSkip = () => {
if (skippable) { if (skippable) {
if (type === SecretRotationType.OracleDb) { if (type === SecretRotationType.OracleDb) {
if (!process.env.E2E_TEST_ORACLE_DB_HOST) { if (!process.env.E2E_TEST_ORACLE_DB_19_HOST) {
return true; return true;
} }
} }
@@ -676,7 +676,7 @@ describe("Secret Rotations", async () => {
}; };
if (shouldSkip()) { if (shouldSkip()) {
test.skip(`Skipping Secret Rotation for ${type} (${name}) because E2E_TEST_ORACLE_DB_HOST is not set`); test.skip(`Skipping Secret Rotation for ${type} (${name}) because E2E_TEST_ORACLE_DB_19_HOST is not set`);
} else { } else {
test.concurrent( test.concurrent(
`Create secret rotation for ${name}`, `Create secret rotation for ${name}`,
+3 -3
View File
@@ -6,9 +6,9 @@ export default defineConfig({
globals: true, globals: true,
env: { env: {
NODE_ENV: "test", NODE_ENV: "test",
E2E_TEST_ORACLE_DB_HOST: process.env.E2E_TEST_ORACLE_DB_HOST!, E2E_TEST_ORACLE_DB_19_HOST: process.env.E2E_TEST_ORACLE_DB_19_HOST!,
E2E_TEST_ORACLE_DB_USERNAME: process.env.E2E_TEST_ORACLE_DB_USERNAME!, E2E_TEST_ORACLE_DB_19_USERNAME: process.env.E2E_TEST_ORACLE_DB_19_USERNAME!,
E2E_TEST_ORACLE_DB_PASSWORD: process.env.E2E_TEST_ORACLE_DB_PASSWORD! E2E_TEST_ORACLE_DB_19_PASSWORD: process.env.E2E_TEST_ORACLE_DB_19_PASSWORD!
}, },
environment: "./e2e-test/vitest-environment-knex.ts", environment: "./e2e-test/vitest-environment-knex.ts",
include: ["./e2e-test/**/*.spec.ts"], include: ["./e2e-test/**/*.spec.ts"],