mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
stop monerod2 with kill signal
This commit is contained in:
parent
15e29ece75
commit
b9a0373c87
@ -113,7 +113,7 @@ const TestConfig = {
|
||||
}
|
||||
],
|
||||
maxFee: BigInt("75000000000"),
|
||||
daemonPollPeriodMs: 15000,
|
||||
daemonPollPeriodMs: 5000,
|
||||
maxWalletStartupMs: 10000, // TODO (woodser): make shorter by switching to jni
|
||||
maxCpuPct: 0.25,
|
||||
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);
|
||||
|
||||
// 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
|
||||
await wait(TestConfig.daemonPollPeriodMs * 2);
|
||||
|
Loading…
Reference in New Issue
Block a user