From 847f124d7b0ad9afd719568c1913047d3418fd57 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Sun, 23 Feb 2020 18:26:30 +0000 Subject: [PATCH] [misc] test/acceptance: skip the shutdown in case we did not start yet Signed-off-by: Jakob Ackermann --- services/filestore/test/acceptance/js/FilestoreApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/filestore/test/acceptance/js/FilestoreApp.js b/services/filestore/test/acceptance/js/FilestoreApp.js index eb34ad8302..6bc4f32719 100644 --- a/services/filestore/test/acceptance/js/FilestoreApp.js +++ b/services/filestore/test/acceptance/js/FilestoreApp.js @@ -62,6 +62,7 @@ class FilestoreApp { } async stop() { + if (!this.server) return const closeServer = promisify(this.server.close).bind(this.server) try { await closeServer()