Skip to content

Commit d1bca2d

Browse files
authored
feat: test infra (#346)
* test infra * corrected trait usage for single test * review fiexes * fixed clippy allow statements * comment * additional warning * Mb corrected for the upload speed * replaced manually checking the memory with sysinfo crate * result functionn * apply_speed_result function * comments added * tempfile instead of manually managing the file * Corrected speedtest module to better reflect what we have in Go * cargo clippy * bytes chunk * quick-xml 0.39
1 parent 37de823 commit d1bca2d

7 files changed

Lines changed: 974 additions & 23 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ async-trait = "0.1.89"
3333
alloy = { version = "1.3", features = ["essentials"] }
3434
built = { version = "0.8.0", features = ["git2", "chrono", "cargo-lock"] }
3535
blst = "0.3"
36+
bytes = "1"
3637
anyhow = "1"
3738
axum = "0.8.6"
3839
cancellation = "0.1.0"
@@ -97,6 +98,8 @@ tree_hash_derive = "0.12"
9798
tar = "0.4"
9899
flate2 = "1.1"
99100
wiremock = "0.6"
101+
sysinfo = "0.33"
102+
quick-xml = { version = "0.39", features = ["serialize"] }
100103

101104
# Crates in the workspace
102105
pluto-app = { path = "crates/app" }

crates/cli/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@ serde_json.workspace = true
3838
serde_with = { workspace = true, features = ["base64"] }
3939
rand.workspace = true
4040
tempfile.workspace = true
41+
bytes.workspace = true
4142
reqwest.workspace = true
4243
url.workspace = true
4344
chrono.workspace = true
45+
sysinfo.workspace = true
46+
quick-xml.workspace = true
47+
futures.workspace = true
4448

4549
[dev-dependencies]
4650
tempfile.workspace = true

0 commit comments

Comments
 (0)