minor testing fixes

This commit is contained in:
The MMGen Project 2026-05-17 18:03:37 +00:00
commit e092f44ace
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
4 changed files with 8 additions and 6 deletions

View file

@ -48,10 +48,10 @@ rec {
};
python-packages = with python.pkgs; {
# pycryptodome = pycryptodome; # altcoins
# pysocks = pysocks; # XMR
# monero = monero; # XMR (test suite)
# eth-keys = eth-keys; # ETH, ETC (test suite)
# pydantic = pydantic; # eth-keys
# pure-protobuf = pure-protobuf; # THORChain
# bip-utils = bip-utils; # bip_hd
};

View file

@ -799,7 +799,9 @@ class CmdTestXMRWallet(CmdTestBase):
h = await self._get_height()
imsg_r(f'Chain height: {h} ')
max_iterations, min_height = (300, 64) if gc.platform == 'win32' else (50, 300)
max_iterations, min_height = (
(300, 64) if gc.machine == 'riscv64' or gc.platform == 'win32' else
(200, 300))
verbose = False
for count in range(max_iterations):

View file

@ -14,7 +14,7 @@ sec = 'deadbeef' * 8
class unit_tests:
altcoin_deps = ('pycoin', 'monero_python', 'keyconv', 'zcash_mini', 'eth_keys', 'ssh_socks_proxy')
altcoin_deps = ('monero_python', 'keyconv', 'zcash_mini', 'eth_keys', 'ssh_socks_proxy')
win_skip = ('losetup', 'zcash_mini', 'sudo')
mac_skip = ('losetup',)

View file

@ -287,9 +287,9 @@ init_tests() {
"
[ "$SOC" ] && {
xmr_env1="MMGEN_TEST_SUITE_PEXPECT_TIMEOUT=${MMGEN_TEST_SUITE_PEXPECT_TIMEOUT:-300} "
xmr_env2="MMGEN_HTTP_TIMEOUT=${MMGEN_HTTP_TIMEOUT:-300} "
xmr_env3="MMGEN_DAEMON_STATE_TIMEOUT=${MMGEN_DAEMON_STATE_TIMEOUT:-180} "
xmr_env1="MMGEN_TEST_SUITE_PEXPECT_TIMEOUT=${MMGEN_TEST_SUITE_PEXPECT_TIMEOUT:-600} "
xmr_env2="MMGEN_HTTP_TIMEOUT=${MMGEN_HTTP_TIMEOUT:-600} "
xmr_env3="MMGEN_DAEMON_STATE_TIMEOUT=${MMGEN_DAEMON_STATE_TIMEOUT:-300} "
}
d_xmr="Monero xmrwallet operations"