mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Restore pyzmq ver. and skip some tests on Linux
This commit is contained in:
parent
ca5362808e
commit
2fde8d19dd
2 changed files with 4 additions and 1 deletions
|
@ -194,7 +194,7 @@ python-jose==2.0.2 # via moto
|
|||
pytz==2019.1 # via moto, tempora
|
||||
pyvmomi==6.7.1.2018.12
|
||||
pyyaml==5.3.1
|
||||
pyzmq==18.0.1
|
||||
pyzmq==19.0.0
|
||||
requests-oauthlib==1.3.0 # via msrest
|
||||
requests==2.21.0
|
||||
responses==0.10.6 # via moto
|
||||
|
|
|
@ -539,6 +539,7 @@ class PubServerChannel(TestCase, AdaptedConfigurationTestCaseMixin):
|
|||
server_channel.pub_close()
|
||||
assert len(results) == send_num, (len(results), set(expect).difference(results))
|
||||
|
||||
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
|
||||
@slowTest
|
||||
def test_zeromq_publish_port(self):
|
||||
"""
|
||||
|
@ -569,6 +570,7 @@ class PubServerChannel(TestCase, AdaptedConfigurationTestCaseMixin):
|
|||
channel.connect()
|
||||
assert str(opts["publish_port"]) in patch_socket.mock_calls[0][1][0]
|
||||
|
||||
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
|
||||
def test_zeromq_zeromq_filtering_decode_message_no_match(self):
|
||||
"""
|
||||
test AsyncZeroMQPubChannel _decode_messages when
|
||||
|
@ -606,6 +608,7 @@ class PubServerChannel(TestCase, AdaptedConfigurationTestCaseMixin):
|
|||
res = server_channel._decode_messages(message)
|
||||
assert res.result() is None
|
||||
|
||||
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
|
||||
def test_zeromq_zeromq_filtering_decode_message(self):
|
||||
"""
|
||||
test AsyncZeroMQPubChannel _decode_messages
|
||||
|
|
Loading…
Add table
Reference in a new issue