get connection auto switch flag from grpc api

This commit is contained in:
woodser 2024-10-07 09:22:36 -04:00 committed by GitHub
parent 5f603365b3
commit e09bec154b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 1 deletions

View file

@ -821,6 +821,7 @@ test("Can manage Monero daemon connections (CI)", async () => {
// enable auto switch
await user3.setAutoSwitch(true);
assert.equal(true, await user3.getAutoSwitch());
// stop monerod
//await monerod3.stopProcess(); // TODO (monero-ts): monerod remains available after await monerod.stopProcess() for up to 40 seconds
@ -834,6 +835,7 @@ test("Can manage Monero daemon connections (CI)", async () => {
// stop auto switch and checking connection periodically
await user3.setAutoSwitch(false);
assert.equal(false, await user3.getAutoSwitch());
await user3.stopCheckingConnection();
// remove current connection