forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dockerized utxo coin daemon in integration docker_tests crate. (j…
…l777#539) * WIP. Added first integration test using native UTXO daemon in Docker. * Use Github fork of testcontainers instead of local copy. * Stop using hardcoded path for coin config in test. * Create coin data dir on host if not exist. * Enable logger in test. Run only test using Docker. * Fix CI config. * Fix CI config again. * Remove comment. * Use OS specific Zcash params path. * Remove unused import. * Wait until conf file is copied from container. Run all tests. * Try custom test runner. * Rm the containers at the end of test despite success state. Also clean up before container is started. * Move test_search_for_swap_tx_spend_native_was_spent from utxo to docker. * Prevent the UTXO coins to be concurrently initialized in tests.
- Loading branch information
1 parent
f252ced
commit 68cbdae
Showing
12 changed files
with
561 additions
and
100 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[package] | ||
name = "docker_tests" | ||
version = "0.1.0" | ||
authors = ["Artem Pikulin <[email protected]>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
path = "src/docker_tests.rs" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
||
[dev-dependencies] | ||
common = { path = "../common" } | ||
coins = { path = "../coins", features = ["native"] } | ||
fomat-macros = "0.2" | ||
futures01 = { version = "0.1", package = "futures" } | ||
gstuff = { version = "0.6", features = ["nightly"] } | ||
hex = "0.3.2" | ||
lazy_static = "1.3.0" | ||
libsecp256k1 = "0.2.2" | ||
rand = { version = "0.4" } | ||
serde_json = "1.0" | ||
testcontainers = { git = "https://github.com/artemii235/testcontainers-rs.git" } | ||
unwrap = "1.2" |
Oops, something went wrong.