fix: e2e tests

This commit is contained in:
Piyush Gupta
2025-11-18 02:11:07 +05:30
parent 1213ef96e3
commit 4a56c7ea46
2 changed files with 24 additions and 15 deletions
@@ -39,3 +39,9 @@ export const getDefaultOnPremFeatures = () => {
}; };
export const setupLicenseRequestWithStore = () => {}; export const setupLicenseRequestWithStore = () => {};
export const getLicenseKeyConfig = () => {
return {
isValid: false
};
};
+4 -1
View File
@@ -2431,6 +2431,7 @@ export const registerRoutes = async (
} }
} }
if (!appCfg.isTestMode) {
await telemetryQueue.startTelemetryCheck(); await telemetryQueue.startTelemetryCheck();
await telemetryQueue.startAggregatedEventsJob(); await telemetryQueue.startAggregatedEventsJob();
await dailyResourceCleanUp.init(); await dailyResourceCleanUp.init();
@@ -2443,10 +2444,12 @@ export const registerRoutes = async (
await pkiSubscriberQueue.startDailyAutoRenewalJob(); await pkiSubscriberQueue.startDailyAutoRenewalJob();
await pkiAlertV2Queue.init(); await pkiAlertV2Queue.init();
await certificateV3Queue.init(); await certificateV3Queue.init();
await kmsService.startService(hsmStatus);
await microsoftTeamsService.start(); await microsoftTeamsService.start();
await dynamicSecretQueueService.init(); await dynamicSecretQueueService.init();
await eventBusService.init(); await eventBusService.init();
}
await kmsService.startService(hsmStatus);
// inject all services // inject all services
server.decorate<FastifyZodProvider["services"]>("services", { server.decorate<FastifyZodProvider["services"]>("services", {