[x] Creation of Params has to be randomized in a closed range
[x] To make it work on the CI, there should be a change in the source (from local to DockerHub) and then we'd need to find out how to cache that. Or download it and cache it from Github Action directly.
[x] Sometimes it throws unexpected response from SSLRequest: 0x00 so that needs to be mitigated by polling readiness for the stellar database.
After solving the problems above this method should be ready to be ran for all tests.
Containers may be spawned in parallel, so tests may be executed with just cargo test. Registry had issues with the docker containers running in parallel, so I made it optional. It throws:
thread 'tokio-runtime-worker' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-prometheus-0.4.0/src/lib.rs:601:14:
called `Result::unwrap()` on an `Err` value: FailedToSetGlobalRecorder(SetRecorderError(()))
Params
has to be randomized in a closed rangeunexpected response from SSLRequest: 0x00
so that needs to be mitigated by polling readiness for the stellar database.After solving the problems above this method should be ready to be ran for all tests.
Containers may be spawned in parallel, so tests may be executed with just
cargo test
. Registry had issues with the docker containers running in parallel, so I made it optional. It throws: