feat(ARRR): dockerize zombie/pirate tests #2374
Conversation
|
@borngraced what is left to make this ready for review. @onur-ozkan @dimxy please ignore reviewing this until it's ready. |
Some minor adjustments to the zombie docker image still ongoing |
this PR is slowly diverting from it's main purpose hance, I have remove additional fixes that shouldn't have been done here...removed fixes will be reimplemented `fix-zombie-tests` PR
b795d88 to
5d6bc86
Compare
|
this PR(#2374) is slowly diverting from it's main purpose. Hence, I have removed additional fixes that shouldn't have been done here...removed fixes will |
change the avg_blocktime for ZOMBIE to reflect docker image `ac_blocktime` configuration
|
Do I understand it right that we are going to solve the problems with concurrent zombie tests failure? |
mm2src/coins/z_coin.rs
Outdated
| ) | ||
| let mut watcher = self.z_fields.sync_state_connector.lock().await; | ||
| while let Some(sync) = watcher.sync_watcher.next().await { | ||
| if matches!(sync, SyncStatus::Finished { block_number: _, .. }) { |
There was a problem hiding this comment.
| if matches!(sync, SyncStatus::Finished { block_number: _, .. }) { | |
| if matches!(sync, SyncStatus::Finished { .. }) { |
| let timeout = wait_until_ms(3000); | ||
| loop { | ||
| if conf_path.exists() { | ||
| break; | ||
| }; | ||
| assert!(now_ms() < timeout, "Test timed out"); | ||
| } |
There was a problem hiding this comment.
| let timeout = wait_until_ms(3000); | |
| loop { | |
| if conf_path.exists() { | |
| break; | |
| }; | |
| assert!(now_ms() < timeout, "Test timed out"); | |
| } | |
| let timeout = wait_until_ms(3000); | |
| while !conf_path.exists() { | |
| assert!(now_ms() < timeout, "Test timed out"); | |
| } |
| pub const ZOMBIE_ASSET_DOCKER_IMAGE: &str = "docker.io/borngraced/zombietestrunner"; | ||
| pub const ZOMBIE_ASSET_DOCKER_IMAGE_WITH_TAG: &str = "docker.io/borngraced/zombietestrunner:multiarch"; |
There was a problem hiding this comment.
I think we should move these to komodo platform in docker.io. This is not a blocker for merge as this is for testing but we should open a PR once moved.
c.c. @smk762
* dev: improvement(best-orders): return an rpc error when we can't find best orders (#2318) feat(utxo): support FIRO Spark verbose tx feat(ARRR): dockerize zombie/pirate tests (#2374) improvement(event-streaming): move UnknownClient error to trace level (#2401) feat(tpu): implement 0 dexfee for kmd trading pairs (#2323) feat(db-arch): ctx functions and use of global db (#2378) feat(swap): add utxo/cosmos/ARRR pre-burn address output (#2112)
* lr-swap-wip: (45 commits) review (mariocynicys): fix iterators zipping, refactor 1inch url builder, add docs to cross prices data, remove extra coin decimals check added doc comments for LrData struct error msg improved fix tx value eth conversion eliminate from_api_error fn fix src_decimals var name improve bad api TokenInfo error messages improvement(best-orders): return an rpc error when we can't find best orders (GLEECBTC#2318) feat(utxo): support FIRO Spark verbose tx feat(ARRR): dockerize zombie/pirate tests (GLEECBTC#2374) improvement(event-streaming): move UnknownClient error to trace level (GLEECBTC#2401) feat(tpu): implement 0 dexfee for kmd trading pairs (GLEECBTC#2323) feat(db-arch): ctx functions and use of global db (GLEECBTC#2378) feat(swap): add utxo/cosmos/ARRR pre-burn address output (GLEECBTC#2112) review (laruh): rename fn review (laruh): add fn to get contracts from LrData add TODO fix find best lr swap behaviour: skip lr provider error results (to use successful ones) refactor 1inch url builder fix 1inch result conversion test ...
need review here https://github.com/KomodoPlatform/ZOMBIE_test_docker cc @dimxy