From ccd224177793dec66cb89a62e608f9c622a0ebf6 Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Fri, 25 Aug 2017 10:23:35 -0600 Subject: [PATCH] Pin request install to version This fails on centos 6 because its node is too old to support the version of hawk bumped here https://github.com/request/request/pull/2751, we can still test the functionality. This will pull from github, and install a specific tag version, and we still do the uninstall using the github path. This should be more stable. --- tests/integration/states/npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/states/npm.py b/tests/integration/states/npm.py index 140eaa92cae9..adcd603cf8d5 100644 --- a/tests/integration/states/npm.py +++ b/tests/integration/states/npm.py @@ -40,7 +40,7 @@ def test_npm_install_url_referenced_package(self): ''' Determine if URL-referenced NPM module can be successfully installed. ''' - ret = self.run_state('npm.installed', name='git://github.com/request/request') + ret = self.run_state('npm.installed', name='request/request#v2.81.1') self.assertSaltTrueReturn(ret) ret = self.run_state('npm.removed', name='git://github.com/request/request') self.assertSaltTrueReturn(ret)