diff --git a/tests/js/client/shell/shell-foxx-paths-spec-grey.js b/tests/js/client/shell/shell-foxx-paths-spec.js similarity index 97% rename from tests/js/client/shell/shell-foxx-paths-spec-grey.js rename to tests/js/client/shell/shell-foxx-paths-spec.js index 0eda024bd4..b7a89fab10 100644 --- a/tests/js/client/shell/shell-foxx-paths-spec-grey.js +++ b/tests/js/client/shell/shell-foxx-paths-spec.js @@ -18,17 +18,16 @@ describe('Foxx service path handling', () => { expect(encodeURIComponent('+')).not.to.equal('+'); expect(encodeURIComponent('/')).not.to.equal('/'); expect(encodeURIComponent(encodeURIComponent('/'))).not.to.equal(encodeURIComponent('/')); - }); - beforeEach(function () { + try { fm.uninstall(mount, {force: true}); } catch (e) {} fm.install(fs.join(basePath, 'paths'), mount); + internal.sleep(1); }); - afterEach(function () { - fm.uninstall(mount, {force: true}); - }); + beforeEach(function () { }); + afterEach(function () { }); it('supports plain URLs', () => { const res = request.get(`${baseUrl}/${mount}/hello/world`);