Assert fixture caller is `pikerd`
parent
045b76bab5
commit
37e0ec7b7d
|
@ -137,12 +137,16 @@ async def _open_test_pikerd(
|
|||
port = random.randint(6e3, 7e3)
|
||||
reg_addr = ('127.0.0.1', port)
|
||||
|
||||
# try:
|
||||
async with (
|
||||
maybe_open_pikerd(
|
||||
registry_addr=reg_addr,
|
||||
**kwargs,
|
||||
),
|
||||
) as pikerd_portal,
|
||||
):
|
||||
# this proc/actor is the pikerd
|
||||
assert pikerd_portal is None
|
||||
|
||||
async with tractor.wait_for_actor(
|
||||
'pikerd',
|
||||
arbiter_sockaddr=reg_addr,
|
||||
|
|
Loading…
Reference in New Issue