Mark some slow tests as such
This commit is contained in:
parent
1e5357a1e1
commit
fb43728661
|
@ -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]}
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user