From 1b9fec3f8de417d28e685c87bf047130fc86f3d4 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 12 Nov 2019 12:52:25 -0500 Subject: [PATCH] Tolerate variable startup message order in static-html self-test. --- tools/tests/static-html.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/tests/static-html.js b/tools/tests/static-html.js index 5eb89b3637..c728f75e9d 100644 --- a/tools/tests/static-html.js +++ b/tools/tests/static-html.js @@ -15,7 +15,10 @@ function startRun(sandbox) { run.match("myapp"); run.match("proxy"); run.tellMongo(MONGO_LISTENING); - run.match("MongoDB"); + // Since the "=> Started MongoDB" message can appear after the + // "Attributes on are not supported" message, we should not + // enforce the opposite order here: + // run.match("MongoDB"); return run; };