Skip to content

Commit

Permalink
test round #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Dec 14, 2022
1 parent 1e3a5bd commit 55f707d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_server_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ async def test_async_task_connected(configs, _count):
"""Test stop when connected."""
run_server, run_client, server_args, client_args, _comm = configs
# JAN WAITING
if _comm in {"serial", "tcp"} and pytest.IS_WINDOWS:
return
# if _comm in {"serial", "tcp"} and pytest.IS_WINDOWS:
# return

asyncio.create_task(run_server(**server_args))
await asyncio.sleep(0.1)
Expand Down Expand Up @@ -198,7 +198,7 @@ async def test_async_task_after_connect(configs, _count):

@pytest.mark.parametrize("def_type", ["sync"])
@pytest.mark.parametrize("_count", range(TEST_RUN_COUNT))
def test_task_listen(configs, _count):
def xtest_task_listen(configs, _count):
"""Test stop when not connected."""
run_server, _run_client, server_args, _client_args, _comm = configs
thread = Thread(target=run_server, kwargs=server_args)
Expand All @@ -212,7 +212,7 @@ def test_task_listen(configs, _count):

@pytest.mark.parametrize("def_type", ["sync"])
@pytest.mark.parametrize("_count", range(TEST_RUN_COUNT))
def test_task_connected(configs, _count):
def xtest_task_connected(configs, _count):
"""Test stop when connected."""
run_server, run_client, server_args, client_args, _comm = configs
# JAN WAITING
Expand Down Expand Up @@ -242,7 +242,7 @@ def test_task_connected(configs, _count):

@pytest.mark.parametrize("def_type", ["sync"])
@pytest.mark.parametrize("_count", range(TEST_RUN_COUNT))
def test_task_after_connect(configs, _count):
def xtest_task_after_connect(configs, _count):
"""Test stop when connected."""
run_server, run_client, server_args, client_args, _comm = configs
# JAN WAITING
Expand Down

0 comments on commit 55f707d

Please sign in to comment.