Mark some slow tests as such

This commit is contained in:
Alex Stokes 2019-08-02 16:48:43 -07:00
parent 1e5357a1e1
commit fb43728661
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086
4 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,7 @@ async def test_set_then_send_from_diff_nodes_five_nodes_ring_topography():
@pytest.mark.asyncio @pytest.mark.asyncio
@pytest.mark.slow
async def test_set_then_send_from_five_diff_nodes_five_nodes_ring_topography(): async def test_set_then_send_from_five_diff_nodes_five_nodes_ring_topography():
num_nodes = 5 num_nodes = 5
adj_map = {0: [1], 1: [2], 2: [3], 3: [4], 4: [0]} adj_map = {0: [1], 1: [2], 2: [3], 3: [4], 4: [0]}

View File

@ -87,5 +87,6 @@ async def test_lru_cache_two_nodes(pubsubs_fsub, monkeypatch):
@pytest.mark.parametrize("test_case_obj", floodsub_protocol_pytest_params) @pytest.mark.parametrize("test_case_obj", floodsub_protocol_pytest_params)
@pytest.mark.asyncio @pytest.mark.asyncio
@pytest.mark.slow
async def test_gossipsub_run_with_floodsub_tests(test_case_obj): async def test_gossipsub_run_with_floodsub_tests(test_case_obj):
await perform_test_from_obj(test_case_obj, FloodsubFactory) await perform_test_from_obj(test_case_obj, FloodsubFactory)

View File

@ -268,6 +268,7 @@ async def test_fanout(hosts, pubsubs_gsub):
@pytest.mark.parametrize("num_hosts", (10,)) @pytest.mark.parametrize("num_hosts", (10,))
@pytest.mark.asyncio @pytest.mark.asyncio
@pytest.mark.slow
async def test_fanout_maintenance(hosts, pubsubs_gsub): async def test_fanout_maintenance(hosts, pubsubs_gsub):
num_msgs = 5 num_msgs = 5

View File

@ -17,6 +17,7 @@ async def test_gossipsub_initialize_with_floodsub_protocol():
@pytest.mark.parametrize("test_case_obj", floodsub_protocol_pytest_params) @pytest.mark.parametrize("test_case_obj", floodsub_protocol_pytest_params)
@pytest.mark.asyncio @pytest.mark.asyncio
@pytest.mark.slow
async def test_gossipsub_run_with_floodsub_tests(test_case_obj): async def test_gossipsub_run_with_floodsub_tests(test_case_obj):
await perform_test_from_obj( await perform_test_from_obj(
test_case_obj, test_case_obj,