mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-25 15:29:38 -05:00
test that priority connections polled after delay
This commit is contained in:
parent
70f8c51d07
commit
a7c5295cb0
@ -613,6 +613,9 @@ test("Can manage Monero daemon connections (CI)", async () => {
|
||||
// connection is restored, online, and authenticated
|
||||
connection = await user3.getMoneroConnection();
|
||||
testConnection(connection!, TestConfig.monerod2.url, OnlineStatus.ONLINE, AuthenticationStatus.AUTHENTICATED, 1);
|
||||
|
||||
// priority connections are polled
|
||||
await wait(TestConfig.daemonPollPeriodMs * 2);
|
||||
connections = await user3.getMoneroConnections();
|
||||
testConnection(getConnection(connections, monerodUrl1)!, monerodUrl1, OnlineStatus.ONLINE, AuthenticationStatus.AUTHENTICATED, 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user