mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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.
This commit is contained in:
parent
253e216a8d
commit
ccd2241777
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class NpmStateTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
|
|||
'''
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue