mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
network-tests: don't try inactive SNs
Don't try using inactive SNs because they will often fail and give timeouts.
This commit is contained in:
parent
238e799d63
commit
84277ef035
|
@ -18,7 +18,7 @@ def omq():
|
|||
@pytest.fixture(scope="module")
|
||||
def sns(omq):
|
||||
remote = omq.connect_remote(Address("curve://public.loki.foundation:38161/80adaead94db3b0402a6057869bdbe63204a28e93589fd95a035480ed6c03b45"))
|
||||
x = omq.request_future(remote, "rpc.get_service_nodes").get()
|
||||
x = omq.request_future(remote, "rpc.get_service_nodes", b'{"active_only": true}').get()
|
||||
assert(len(x) == 2 and x[0] == b'200')
|
||||
return json.loads(x[1])
|
||||
|
||||
|
|
Loading…
Reference in a new issue