xmr-btc-swap/monero-harness
Daniel Karzel 04611ee9e1
Fix messages for awaiting containers ready
The message `JOINING all threads` is unfortunately not deterministic, it can happen that it just is not printed in the logs.
For Monerod container the message is set to `RPC server started ok`. This message appears in both a test run that was hanging with `JOINING all threads` and a successful run. Initially the message was set to `core RPC server started ok` with `core` being a variable value. We assume that `core` does not change, but did not to further code analysis what values it can be.

For Monero Wallet RPC container the message is set to `Run server thread name: RPC` which is what it was set to initially. After several container runs this message seems to be reasonable - there are no recorded issues of the Wallet RPC container hanging, but we had problems with Monerod in the past.
2021-04-28 11:44:55 +10:00
..
src Fix messages for awaiting containers ready 2021-04-28 11:44:55 +10:00
tests Refactor monero-harness containers 2021-04-26 18:12:57 +10:00
Cargo.toml Refactor monero-harness containers 2021-04-26 18:12:57 +10:00
README.md Enforce consistent formatting of Markdown files 2021-03-25 11:11:57 +11:00
rust-toolchain Swap Monero for Bitcoin 2020-09-28 17:15:57 +10:00
rustfmt.toml Upgrade toolchain 2021-02-04 15:18:33 +11:00

Monero Harness

Provides an implementation of testcontainers::Image for a monero image to run monerod and monero-wallet-rpc in a docker container.

Also provides two standalone JSON RPC clients, one each for monerod and monero-wallet-rpc.

Example Usage

Please see tests/* for example usage.