diff --git a/packages/client-sdk-nodejs-compression-zstd/test/integration/integration-setup.ts b/packages/client-sdk-nodejs-compression-zstd/test/integration/integration-setup.ts index f37041b6d..e17c520ca 100644 --- a/packages/client-sdk-nodejs-compression-zstd/test/integration/integration-setup.ts +++ b/packages/client-sdk-nodejs-compression-zstd/test/integration/integration-setup.ts @@ -26,9 +26,7 @@ export interface CacheClientPropsWithConfig extends CacheClientProps { } function testCacheName(): string { - return ( - process.env.TEST_CACHE_NAME || `js-integration-test-compression-${v4()}` - ); + return `js-integration-test-compression-${v4()}`; } let _credsProvider: CredentialProvider | undefined = undefined; diff --git a/packages/client-sdk-nodejs-compression/test/integration/integration-setup.ts b/packages/client-sdk-nodejs-compression/test/integration/integration-setup.ts index f37041b6d..e17c520ca 100644 --- a/packages/client-sdk-nodejs-compression/test/integration/integration-setup.ts +++ b/packages/client-sdk-nodejs-compression/test/integration/integration-setup.ts @@ -26,9 +26,7 @@ export interface CacheClientPropsWithConfig extends CacheClientProps { } function testCacheName(): string { - return ( - process.env.TEST_CACHE_NAME || `js-integration-test-compression-${v4()}` - ); + return `js-integration-test-compression-${v4()}`; } let _credsProvider: CredentialProvider | undefined = undefined; diff --git a/packages/common-integration-tests/src/common-int-test-utils.ts b/packages/common-integration-tests/src/common-int-test-utils.ts index 6ae2e9d70..e63455e43 100644 --- a/packages/common-integration-tests/src/common-int-test-utils.ts +++ b/packages/common-integration-tests/src/common-int-test-utils.ts @@ -34,21 +34,11 @@ export function isLocalhostDevelopmentMode(): boolean { return useLocalhost !== undefined; } export function testCacheName(): string { - return process.env.TEST_CACHE_NAME || `js-integration-test-default-${v4()}`; + return `js-integration-test-default-${v4()}`; } export function testStoreName(): string { - return process.env.TEST_STORE_NAME || `js-integration-test-default-${v4()}`; -} - -/** - * Returns a unique index name for use in integration tests. - * @param meaningfulIdentifier Required suffix to identify the test for debugging purposes. - * Should be a string that describes the test uniquely. - * @returns {string} A unique index name. - */ -export function testIndexName(meaningfulIdentifier: string): string { - return `js-integration-test-${v4()}-${meaningfulIdentifier}`; + return `js-integration-test-default-${v4()}`; } export function testWebhook(cache?: string): Webhook {