disable auto switch for monero connection test

This commit is contained in:
woodser 2024-10-11 11:12:52 -04:00
parent e09bec154b
commit ba110f2fe3

View File

@ -732,6 +732,10 @@ test("Can manage Monero daemon connections (CI)", async () => {
// start user3 // start user3
user3 = await initHaveno(); user3 = await initHaveno();
// disable auto switch for tests
assert.equal(true, await user3.getAutoSwitch());
await user3.setAutoSwitch(false);
// test default connections // test default connections
const monerodUrl1 = "http://127.0.0.1:" + getNetworkStartPort() + "8081"; // TODO: (woodser): move to config const monerodUrl1 = "http://127.0.0.1:" + getNetworkStartPort() + "8081"; // TODO: (woodser): move to config
let connections: UrlConnection[] = await user3.getMoneroConnections(); let connections: UrlConnection[] = await user3.getMoneroConnections();