File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/client/lib/tests/test-scenario Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ export function getEnvConfig(): EnvConfig {
43
43
) ;
44
44
}
45
45
46
- if ( ! process . env . FAULT_INJECTION_API_URL ) {
47
- throw new Error ( "FAULT_INJECTION_API_URL environment variable must be set" ) ;
46
+ if ( ! process . env . RE_FAULT_INJECTOR_URL ) {
47
+ throw new Error ( "RE_FAULT_INJECTOR_URL environment variable must be set" ) ;
48
48
}
49
49
50
50
return {
51
51
redisEndpointsConfigPath : process . env . REDIS_ENDPOINTS_CONFIG_PATH ,
52
- faultInjectorUrl : process . env . FAULT_INJECTION_API_URL ,
52
+ faultInjectorUrl : process . env . RE_FAULT_INJECTOR_URL ,
53
53
} ;
54
54
}
55
55
@@ -86,7 +86,7 @@ export interface RedisConnectionConfig {
86
86
*/
87
87
export function getDatabaseConfig (
88
88
databasesConfig : DatabasesConfig ,
89
- databaseName ?: string
89
+ databaseName = process . env . DATABASE_NAME
90
90
) : RedisConnectionConfig {
91
91
const dbConfig = databaseName
92
92
? databasesConfig [ databaseName ]
You can’t perform that action at this time.
0 commit comments