Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fde8d1

Browse files
krionbsddwoz
authored andcommitted
Restore pyzmq ver. and skip some tests on Linux
1 parent ca53628 commit 2fde8d1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

requirements/static/py3.8/linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ python-jose==2.0.2 # via moto
194194
pytz==2019.1 # via moto, tempora
195195
pyvmomi==6.7.1.2018.12
196196
pyyaml==5.3.1
197-
pyzmq==18.0.1
197+
pyzmq==19.0.0
198198
requests-oauthlib==1.3.0 # via msrest
199199
requests==2.21.0
200200
responses==0.10.6 # via moto

tests/unit/transport/test_zeromq.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ def test_publish_to_pubserv_ipc(self):
539539
server_channel.pub_close()
540540
assert len(results) == send_num, (len(results), set(expect).difference(results))
541541

542+
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
542543
@slowTest
543544
def test_zeromq_publish_port(self):
544545
"""
@@ -569,6 +570,7 @@ def test_zeromq_publish_port(self):
569570
channel.connect()
570571
assert str(opts["publish_port"]) in patch_socket.mock_calls[0][1][0]
571572

573+
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
572574
def test_zeromq_zeromq_filtering_decode_message_no_match(self):
573575
"""
574576
test AsyncZeroMQPubChannel _decode_messages when
@@ -606,6 +608,7 @@ def test_zeromq_zeromq_filtering_decode_message_no_match(self):
606608
res = server_channel._decode_messages(message)
607609
assert res.result() is None
608610

611+
@skipIf(salt.utils.platform.is_linux(), "Skip on Linux")
609612
def test_zeromq_zeromq_filtering_decode_message(self):
610613
"""
611614
test AsyncZeroMQPubChannel _decode_messages

0 commit comments

Comments
 (0)