CLD-7353 E2E: Disable sending diagnostics and security alert on test servers (#26510)

* test: disable sending diagnostics and security alert on test servers

* log notable server config
Этот коммит содержится в:
Saturnino Abril
2024-03-28 16:43:53 +08:00
коммит произвёл GitHub
родитель b6da56e44d
Коммит ed00cf78ff
6 изменённых файлов: 27 добавлений и 8 удалений

Просмотреть файл

@@ -103,6 +103,12 @@ async function printClientInfo(client: Client) {
- BuildEnterpriseReady = ${config.BuildEnterpriseReady}
- TelemetryId = ${config.TelemetryId}
- ServiceEnvironment = ${config.ServiceEnvironment}`);
const {LogSettings, ServiceSettings} = await client.getConfig();
// eslint-disable-next-line no-console
console.log(`Notable Server Config:
- ServiceSettings.EnableSecurityFixAlert = ${ServiceSettings.EnableSecurityFixAlert}
- LogSettings.EnableDiagnostics = ${LogSettings.EnableDiagnostics}`);
}
async function ensurePluginsLoaded(client: Client) {