mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-05-03 07:04:58 -04:00
use Reliable and PreferOrdered by default for private routes
This commit is contained in:
parent
f69b4cb40d
commit
071d294a70
3 changed files with 9 additions and 18 deletions
|
@ -104,10 +104,8 @@ async def test_routing_context_app_call_loopback():
|
|||
# purge routes to ensure we start fresh
|
||||
await api.debug("purge routes")
|
||||
|
||||
# make a routing context that uses a safety route
|
||||
rc = await (await api.new_routing_context()).with_sequencing(
|
||||
veilid.Sequencing.ENSURE_ORDERED
|
||||
)
|
||||
# make a routing context
|
||||
rc = await api.new_routing_context()
|
||||
async with rc:
|
||||
# make a new local private route
|
||||
prl, blob = await api.new_private_route()
|
||||
|
@ -160,15 +158,10 @@ async def test_routing_context_app_message_loopback_big_packets():
|
|||
await api.debug("purge routes")
|
||||
|
||||
# make a routing context that uses a safety route
|
||||
rc = await (await api.new_routing_context()).with_sequencing(
|
||||
veilid.Sequencing.ENSURE_ORDERED
|
||||
)
|
||||
rc = await api.new_routing_context()
|
||||
async with rc:
|
||||
# make a new local private route
|
||||
prl, blob = await api.new_custom_private_route(
|
||||
[veilid.CryptoKind.CRYPTO_KIND_VLD0],
|
||||
veilid.Stability.RELIABLE,
|
||||
veilid.Sequencing.ENSURE_ORDERED)
|
||||
prl, blob = await api.new_private_route()
|
||||
|
||||
# import it as a remote route as well so we can send to it
|
||||
prr = await api.import_remote_private_route(blob)
|
||||
|
@ -269,8 +262,6 @@ async def test_routing_context_app_message_loopback_bandwidth():
|
|||
await api.debug("purge routes")
|
||||
|
||||
# make a routing context that uses a safety route
|
||||
# rc = await (await api.new_routing_context()).with_sequencing(veilid.Sequencing.ENSURE_ORDERED)
|
||||
# rc = await api.new_routing_context()
|
||||
rc = await api.new_routing_context()
|
||||
async with rc:
|
||||
# make a new local private route
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue