From 13a45f56f52a65bb398230dd54f3d97c91f8936c Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Mon, 20 Oct 2014 10:34:58 +0200 Subject: [PATCH] removed superfluous test, because of possible race condition --- js/server/tests/shell-tasks-timecritical.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/server/tests/shell-tasks-timecritical.js b/js/server/tests/shell-tasks-timecritical.js index 4eaa239edd..6ea7495182 100644 --- a/js/server/tests/shell-tasks-timecritical.js +++ b/js/server/tests/shell-tasks-timecritical.js @@ -495,9 +495,6 @@ function TaskSuite () { internal.wait(1); - var t = getTasks(); - assertEqual(0, t.length); - internal.wait(5); assertEqual(1, db[cn].count()); @@ -529,17 +526,9 @@ function TaskSuite () { assertEqual(5, task.offset); assertEqual("_system", task.database); - var t = getTasks(); - assertEqual(1, t.length); - internal.wait(15); assertEqual(1, db[cn].count()); - // assertEqual(1, db[cn].byExample({ value: 23 }).toArray().length); - - // task should have gone by now - // t = getTasks(); - // assertEqual(0, t.length); }, ////////////////////////////////////////////////////////////////////////////////