Skip to content

Commit 4400ca6

Browse files
committed
Revert "Skip CLI tests on Windows until we resolve the blocking/hanging isuse. (#489)"
This reverts commit 8ad1208. Signed-off-by: Michel Hidalgo <[email protected]>
1 parent f6c4a5b commit 4400ca6

File tree

9 files changed

+0
-76
lines changed

9 files changed

+0
-76
lines changed

ros2action/test/test_cli.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@
3535
import yaml
3636

3737

38-
# Skip cli tests on Windows while they exhibit pathological behavior
39-
# https://github.com/ros2/build_farmer/issues/248
40-
if sys.platform.startswith('win'):
41-
pytest.skip(
42-
'CLI tests can block for a pathological amount of time on Windows.',
43-
allow_module_level=True)
44-
45-
4638
@pytest.mark.rostest
4739
@launch_testing.parametrize('rmw_implementation', get_available_rmw_implementations())
4840
def generate_test_description(rmw_implementation):

ros2interface/test/test_cli.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import contextlib
1616
import itertools
1717
import re
18-
import sys
1918
import unittest
2019

2120
from launch import LaunchDescription
@@ -30,14 +29,6 @@
3029
import pytest
3130

3231

33-
# Skip cli tests on Windows while they exhibit pathological behavior
34-
# https://github.com/ros2/build_farmer/issues/248
35-
if sys.platform.startswith('win'):
36-
pytest.skip(
37-
'CLI tests can block for a pathological amount of time on Windows.',
38-
allow_module_level=True)
39-
40-
4132
some_messages_from_test_msgs = [
4233
'test_msgs/msg/BasicTypes',
4334
'test_msgs/msg/Constants',

ros2lifecycle/test/test_cli.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
import contextlib
16-
import sys
1716
import unittest
1817

1918
from launch import LaunchDescription
@@ -32,14 +31,6 @@
3231
from rclpy.utilities import get_available_rmw_implementations
3332

3433

35-
# Skip cli tests on Windows while they exhibit pathological behavior
36-
# https://github.com/ros2/build_farmer/issues/248
37-
if sys.platform.startswith('win'):
38-
pytest.skip(
39-
'CLI tests can block for a pathological amount of time on Windows.',
40-
allow_module_level=True)
41-
42-
4334
ALL_LIFECYCLE_NODE_TRANSITIONS = [
4435
'- configure [1]',
4536
'\tStart: unconfigured',

ros2node/test/test_cli.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@
3636
from rclpy.utilities import get_available_rmw_implementations
3737

3838

39-
# Skip cli tests on Windows while they exhibit pathological behavior
40-
# https://github.com/ros2/build_farmer/issues/248
41-
if sys.platform.startswith('win'):
42-
pytest.skip(
43-
'CLI tests can block for a pathological amount of time on Windows.',
44-
allow_module_level=True)
45-
46-
4739
@pytest.mark.rostest
4840
@launch_testing.parametrize('rmw_implementation', get_available_rmw_implementations())
4941
def generate_test_description(rmw_implementation):

ros2node/test/test_cli_duplicate_node_names.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@
3535
from ros2node.api import INFO_NONUNIQUE_WARNING_TEMPLATE
3636

3737

38-
# Skip cli tests on Windows while they exhibit pathological behavior
39-
# https://github.com/ros2/build_farmer/issues/248
40-
if sys.platform.startswith('win'):
41-
pytest.skip(
42-
'CLI tests can block for a pathological amount of time on Windows.',
43-
allow_module_level=True)
44-
45-
4638
@pytest.mark.rostest
4739
@launch_testing.parametrize('rmw_implementation', get_available_rmw_implementations())
4840
def generate_test_description(rmw_implementation):

ros2pkg/test/test_cli.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import contextlib
1616
import os
17-
import sys
1817
import tempfile
1918
import unittest
2019
import xml.etree.ElementTree as ET
@@ -31,14 +30,6 @@
3130
import pytest
3231

3332

34-
# Skip cli tests on Windows while they exhibit pathological behavior
35-
# https://github.com/ros2/build_farmer/issues/248
36-
if sys.platform.startswith('win'):
37-
pytest.skip(
38-
'CLI tests can block for a pathological amount of time on Windows.',
39-
allow_module_level=True)
40-
41-
4233
some_cli_packages = [
4334
'ros2cli',
4435
'ros2pkg'

ros2service/test/test_cli.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@
3838
from test_msgs.srv import BasicTypes
3939

4040

41-
# Skip cli tests on Windows while they exhibit pathological behavior
42-
# https://github.com/ros2/build_farmer/issues/248
43-
if sys.platform.startswith('win'):
44-
pytest.skip(
45-
'CLI tests can block for a pathological amount of time on Windows.',
46-
allow_module_level=True)
47-
48-
4941
def get_echo_call_output(**kwargs):
5042
request = BasicTypes.Request()
5143
for field_name, field_value in kwargs.items():

ros2topic/test/test_cli.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@
3737
from rclpy.utilities import get_available_rmw_implementations
3838

3939

40-
# Skip cli tests on Windows while they exhibit pathological behavior
41-
# https://github.com/ros2/build_farmer/issues/248
42-
if sys.platform.startswith('win'):
43-
pytest.skip(
44-
'CLI tests can block for a pathological amount of time on Windows.',
45-
allow_module_level=True)
46-
47-
4840
@pytest.mark.rostest
4941
@launch_testing.parametrize('rmw_implementation', get_available_rmw_implementations())
5042
def generate_test_description(rmw_implementation):

ros2topic/test/test_echo_pub.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
import functools
16-
import sys
1716
import unittest
1817

1918
from launch import LaunchDescription
@@ -38,14 +37,6 @@
3837
from std_msgs.msg import String
3938

4039

41-
# Skip cli tests on Windows while they exhibit pathological behavior
42-
# https://github.com/ros2/build_farmer/issues/248
43-
if sys.platform.startswith('win'):
44-
pytest.skip(
45-
'CLI tests can block for a pathological amount of time on Windows.',
46-
allow_module_level=True)
47-
48-
4940
TEST_NODE = 'cli_echo_pub_test_node'
5041
TEST_NAMESPACE = 'cli_echo_pub'
5142

0 commit comments

Comments
 (0)