Skip the transport tests on Darwin and FreeBSD.

These are being rewritten in https://github.com/saltstack/salt/pull/59172
This commit is contained in:
Pedro Algarvio 2020-12-30 08:16:35 +00:00
parent 10e6daec09
commit 727ae63d2c
3 changed files with 19 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import logging
import os
import threading
import pytest
import salt.config
import salt.exceptions
import salt.ext.tornado.gen
@ -21,6 +22,12 @@ from tests.support.mock import MagicMock
from tests.support.runtests import RUNTIME_VARS
from tests.support.unit import skipIf
pytestmark = [
pytest.mark.skip_on_darwin,
pytest.mark.skip_on_freebsd,
pytest.mark.skip_on_windows,
]
log = logging.getLogger(__name__)

View file

@ -6,6 +6,7 @@ import logging
import socket
import threading
import pytest
import salt.config
import salt.exceptions
import salt.ext.tornado.concurrent
@ -32,6 +33,11 @@ from tests.unit.transport.mixins import (
run_loop_in_thread,
)
pytestmark = [
pytest.mark.skip_on_darwin,
pytest.mark.skip_on_freebsd,
]
log = logging.getLogger(__name__)

View file

@ -9,6 +9,7 @@ import threading
import time
from concurrent.futures.thread import ThreadPoolExecutor
import pytest
import salt.config
import salt.exceptions
import salt.ext.tornado.gen
@ -34,6 +35,11 @@ from tests.unit.transport.mixins import (
run_loop_in_thread,
)
pytestmark = [
pytest.mark.skip_on_darwin,
pytest.mark.skip_on_freebsd,
]
x = "fix pre"
# support pyzmq 13.0.x, TODO: remove once we force people to 14.0.x