From 77da0794ce375abad1887c8a0c26c4e0e3a8787e Mon Sep 17 00:00:00 2001 From: Jan Christoph Uhde Date: Thu, 6 Apr 2017 17:31:21 +0200 Subject: [PATCH] fix shell-foxx-manager-nightly-spec.js --- js/client/modules/@arangodb/foxx/manager.js | 1 + js/common/test-data/apps/minimal-working-setup/manifest.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/js/client/modules/@arangodb/foxx/manager.js b/js/client/modules/@arangodb/foxx/manager.js index 762160370a..0749fa4621 100644 --- a/js/client/modules/@arangodb/foxx/manager.js +++ b/js/client/modules/@arangodb/foxx/manager.js @@ -327,6 +327,7 @@ var replace = function (serviceInfo, mount, options) { }; res = arango.POST('/_admin/foxx/replace', JSON.stringify(req)); + arangodb.db._flushCache(); arangosh.checkRequestResult(res); return { name: res.name, diff --git a/js/common/test-data/apps/minimal-working-setup/manifest.json b/js/common/test-data/apps/minimal-working-setup/manifest.json index cd71e5c542..ec6ea4b421 100644 --- a/js/common/test-data/apps/minimal-working-setup/manifest.json +++ b/js/common/test-data/apps/minimal-working-setup/manifest.json @@ -3,5 +3,8 @@ "version": "0.0.0", "scripts": { "setup": "setup.js" + }, + "engines": { + "arangodb": "^2.8.0" } }