From 929a292d3c61e936e432571105ee7575c0dee306 Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Thu, 11 Feb 2021 12:44:50 +0100 Subject: [PATCH] Disable monitoring plugin email notifications in functional tests --- x-pack/test/functional/config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x-pack/test/functional/config.js b/x-pack/test/functional/config.js index 3a12d23d2d1ad41..5ab4b38d8b12501 100644 --- a/x-pack/test/functional/config.js +++ b/x-pack/test/functional/config.js @@ -90,6 +90,13 @@ export default async function ({ readConfigFile }) { '--xpack.encryptedSavedObjects.encryptionKey="DkdXazszSCYexXqz4YktBGHCRkV6hyNK"', '--timelion.ui.enabled=true', '--savedObjects.maxImportPayloadBytes=10485760', // for OSS test management/_import_objects + // Disable monitoring plugin's email notifications, otherwise the + // monitoring plugin tries to read UiSettings while esArchiver is + // loading data causing the test Kibana server to crash + '--monitoring.cluster_alerts.email_notifications.enabled=false', + '--monitoring.cluster_alerts.email_notifications.email_address=e', + '--logging.verbose=true', + '--elasticsearch.logQueries=true', ], }, uiSettings: {