ci: Fix flaky tests (#8468)

This commit is contained in:
Daniel
2023-03-11 09:54:05 +11:00
committed by GitHub
parent cf1b59e97b
commit 65e5879e42
10 changed files with 45 additions and 16 deletions

View File

@@ -466,7 +466,7 @@ export function promiseEnforceMasterKeyAccess(request) {
return Promise.resolve();
}
export const addRateLimit = (route, config) => {
export const addRateLimit = (route, config, cloud) => {
if (typeof config === 'string') {
config = Config.get(config);
}
@@ -545,6 +545,7 @@ export const addRateLimit = (route, config) => {
},
store: redisStore.store,
}),
cloud,
});
Config.put(config);
};