Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 8c8523d

Browse files
authored
token-cli: Use libtest-mimic to parallelize tests (#5821)
* token-cli: Use libtest-mimic to reuse test validator * Fixup tests * rename async_test -> async_trial
1 parent 63f97b6 commit 8c8523d

File tree

3 files changed

+607
-545
lines changed

3 files changed

+607
-545
lines changed

Cargo.lock

Lines changed: 117 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

token/cli/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,15 @@ tokio = "1.34"
4949
[dev-dependencies]
5050
solana-test-validator = "=1.17.2"
5151
assert_cmd = "2.0.12"
52+
libtest-mimic = "0.6"
5253
serial_test = "2.0.0"
5354
tempfile = "3.8.1"
5455

5556
[[bin]]
5657
name = "spl-token"
5758
path = "src/main.rs"
59+
60+
[[test]]
61+
name = "command"
62+
path = "tests/command.rs"
63+
harness = false

0 commit comments

Comments
 (0)