mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-06 21:44:41 -04:00
stop monerod2 with kill signal
This commit is contained in:
parent
15e29ece75
commit
b9a0373c87
1 changed files with 3 additions and 2 deletions
|
@ -113,7 +113,7 @@ const TestConfig = {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
maxFee: BigInt("75000000000"),
|
maxFee: BigInt("75000000000"),
|
||||||
daemonPollPeriodMs: 15000,
|
daemonPollPeriodMs: 5000,
|
||||||
maxWalletStartupMs: 10000, // TODO (woodser): make shorter by switching to jni
|
maxWalletStartupMs: 10000, // TODO (woodser): make shorter by switching to jni
|
||||||
maxCpuPct: 0.25,
|
maxCpuPct: 0.25,
|
||||||
assetCodes: ["USD", "GBP", "EUR", "ETH", "BTC", "BCH", "LTC"], // primary asset codes
|
assetCodes: ["USD", "GBP", "EUR", "ETH", "BTC", "BCH", "LTC"], // primary asset codes
|
||||||
|
@ -600,7 +600,8 @@ test("Can manage Monero daemon connections (CI)", async () => {
|
||||||
await user3.setAutoSwitch(true);
|
await user3.setAutoSwitch(true);
|
||||||
|
|
||||||
// stop monerod
|
// stop monerod
|
||||||
await monerod2.stopProcess();
|
//await monerod2.stopProcess(); // TODO (monero-javascript): monerod remains available after await monerod.stopProcess() for up to 40 seconds
|
||||||
|
await GenUtils.killProcess(monerod2.process, "SIGKILL");
|
||||||
|
|
||||||
// test auto switch after periodic connection check
|
// test auto switch after periodic connection check
|
||||||
await wait(TestConfig.daemonPollPeriodMs * 2);
|
await wait(TestConfig.daemonPollPeriodMs * 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue