From 008d4826a9c76e7f8816355e43f853dde0ce3a1f Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Wed, 13 Jan 2016 16:07:46 +0100 Subject: [PATCH] Actually filter out log spam in tests again --- js/server/modules/@arangodb/testing.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/js/server/modules/@arangodb/testing.js b/js/server/modules/@arangodb/testing.js index a6f3ffbeb4..23d41dea49 100644 --- a/js/server/modules/@arangodb/testing.js +++ b/js/server/modules/@arangodb/testing.js @@ -498,9 +498,15 @@ function readImportantLogLines(logPath) { for (j = 0; j < maxBuffer; j++) { if (buf[j] === 10) { // \n var line = buf.asciiSlice(lineStart, j); - // filter out regular INFO lines, and test related messages - fnLines.push(line); lineStart = j + 1; + // filter out regular INFO lines, and test related messages + if ( + line.search('WARNING about to execute:') !== -1 + && line.search(' INFO ') !== -1 + ) { + continue; + } + fnLines.push(line); } } }