From e439407dd4453fbbdce7ba21f56a82ef1fe2c4a3 Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Mon, 19 Oct 2015 17:13:03 +0200 Subject: [PATCH] Fixed tests in optimizer-indexes-in-or. We might be able to optimize a bit more here. --- js/server/tests/aql-optimizer-indexes-in-or.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/server/tests/aql-optimizer-indexes-in-or.js b/js/server/tests/aql-optimizer-indexes-in-or.js index a74ade37d4..0e1642af05 100644 --- a/js/server/tests/aql-optimizer-indexes-in-or.js +++ b/js/server/tests/aql-optimizer-indexes-in-or.js @@ -305,7 +305,6 @@ function optimizerIndexesInOrTestSuite () { return node.type; }); - require("org/arangodb/aql/explainer").explain(query[0]); // ensure the index is used assertNotEqual(-1, nodeTypes.indexOf("IndexNode"), query); @@ -342,7 +341,6 @@ function optimizerIndexesInOrTestSuite () { return node.type; }); - require("org/arangodb/aql/explainer").explain(query[0]); // ensure the index is used assertNotEqual(-1, nodeTypes.indexOf("IndexNode"), query); @@ -518,7 +516,6 @@ function optimizerIndexesInOrTestSuite () { return node.type; }); - require("org/arangodb/aql/explainer").explain(query[0]); // ensure an index is used assertNotEqual(-1, nodeTypes.indexOf("IndexNode"), query); @@ -549,7 +546,6 @@ function optimizerIndexesInOrTestSuite () { return node.type; }); - require("org/arangodb/aql/explainer").explain(query[0]); // ensure an index is used assertNotEqual(-1, nodeTypes.indexOf("IndexNode"), query); @@ -663,7 +659,6 @@ function optimizerIndexesInOrTestSuite () { var results = AQL_EXECUTE(query[0]); assertEqual(query[1].length, results.json.length, query); for (var i = 0; i < results.json.length; ++i) { - require("internal").print(query[1][i]); assertEqual(query[1][i], results.json[i], query); } assertTrue(results.stats.scannedIndex > 0);