diff --git a/js/server/tests/shell/shell-compaction-noncluster-timecritical.js b/js/server/tests/shell/shell-compaction-noncluster-timecritical.js index 78fcde3664..f94b8854ea 100644 --- a/js/server/tests/shell/shell-compaction-noncluster-timecritical.js +++ b/js/server/tests/shell/shell-compaction-noncluster-timecritical.js @@ -891,7 +891,7 @@ function CompactionSuite () { c1 = null; while (internal.db._collection(cn).status() !== ArangoCollection.STATUS_UNLOADED) { - db._collection(cn).unload(); + internal.db._collection(cn).unload(); internal.wait(1, false); } @@ -965,7 +965,7 @@ function CompactionSuite () { c1 = null; while (internal.db._collection(cn).status() !== ArangoCollection.STATUS_UNLOADED) { - db._collection(cn).unload(); + internal.db._collection(cn).unload(); internal.wait(1, false); }