Skip to content

Commit

Permalink
token-cli: Use libtest-mimic to parallelize tests (#5821)
Browse files Browse the repository at this point in the history
* token-cli: Use libtest-mimic to reuse test validator

* Fixup tests

* rename async_test -> async_trial
  • Loading branch information
joncinque authored Nov 14, 2023
1 parent 63f97b6 commit 8c8523d
Show file tree
Hide file tree
Showing 3 changed files with 607 additions and 545 deletions.
119 changes: 117 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions token/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,15 @@ tokio = "1.34"
[dev-dependencies]
solana-test-validator = "=1.17.2"
assert_cmd = "2.0.12"
libtest-mimic = "0.6"
serial_test = "2.0.0"
tempfile = "3.8.1"

[[bin]]
name = "spl-token"
path = "src/main.rs"

[[test]]
name = "command"
path = "tests/command.rs"
harness = false
Loading

0 comments on commit 8c8523d

Please sign in to comment.