Skip to content

Commit d2f031e

Browse files
committed
fix for e2e variable
1 parent b7b7220 commit d2f031e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

tests/e2e/docker.web.docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ services:
2727
E2E_CLOUD_DATABASE_PASSWORD: $E2E_CLOUD_DATABASE_PASSWORD
2828
E2E_CLOUD_DATABASE_USERNAME: $E2E_CLOUD_DATABASE_USERNAME
2929
E2E_CLOUD_DATABASE_NAME: $E2E_CLOUD_DATABASE_NAME
30+
E2E_CLOUD_API_ACCESS_KEY: $E2E_CLOUD_API_ACCESS_KEY
31+
E2E_CLOUD_API_SECRET_KEY: $E2E_CLOUD_API_SECRET_KEY
3032
REMOTE_FOLDER_PATH: "/root/remote"
3133
command: [
3234
'./wait-for-it.sh', 'redis-enterprise:12000', '-s', '-t', '120',

tests/e2e/helpers/conf.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export const cloudDatabaseConfig = {
100100
databaseName: `${process.env.E2E_CLOUD_DATABASE_NAME || 'cloud-database'}-${uniqueId}`,
101101
databaseUsername: process.env.E2E_CLOUD_DATABASE_USERNAME,
102102
databasePassword: process.env.E2E_CLOUD_DATABASE_PASSWORD,
103-
accessKey: process.env.E2E_CLOUD_API_ACCESS_KEY,
104-
secretKey: process.env.E2E_CLOUD_API_SECRET_KEY
103+
accessKey: process.env.E2E_CLOUD_API_ACCESS_KEY || '',
104+
secretKey: process.env.E2E_CLOUD_API_SECRET_KEY || ''
105105
};
106106

107107
export const ossStandaloneNoPermissionsConfig = {

tests/e2e/local.web.docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ services:
2424
E2E_CLOUD_DATABASE_PASSWORD: $E2E_CLOUD_DATABASE_PASSWORD
2525
E2E_CLOUD_DATABASE_USERNAME: $E2E_CLOUD_DATABASE_USERNAME
2626
E2E_CLOUD_DATABASE_NAME: $E2E_CLOUD_DATABASE_NAME
27+
E2E_CLOUD_API_ACCESS_KEY: $E2E_CLOUD_API_ACCESS_KEY
28+
E2E_CLOUD_API_SECRET_KEY: $E2E_CLOUD_API_SECRET_KEY
2729
REMOTE_FOLDER_PATH: "/root/remote"
2830
entrypoint: [
2931
'./upload-custom-plugins.sh',

tests/e2e/tests/smoke/database/autodiscover-db.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test
5252
// await deleteDatabase(databaseName);
5353
})('Verify that user can connect to the RE Cloud database via auto-discover flow', async t => {
5454
// Verify that user can see the Cloud auto-discovery option selected by default when switching to the auto-discovery of databases
55-
databaseName = await autodiscoverRECloudDatabase(cloudDatabaseConfig.accessKey!, cloudDatabaseConfig.secretKey!);
55+
databaseName = await autodiscoverRECloudDatabase(cloudDatabaseConfig.accessKey, cloudDatabaseConfig.secretKey);
5656
// uncomment when fixed db will be added to cloud subscription
5757
// await myRedisDatabasePage.clickOnDBByName(databaseName);
5858
// // Verify that user can add database from fixed subscription

0 commit comments

Comments
 (0)