mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 07:27:43 +00:00
updated env vars
This commit is contained in:
@@ -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}`,
|
||||||
|
|||||||
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user