Skip to content

Commit

Permalink
test: add test helpers for object store types (#25420)
Browse files Browse the repository at this point in the history
This adds a new crate `influxdb3_test_helpers` which provides two object
store helper types that can be used to track request counts made through
the store, as well as synchronize requests made through the store, resp.
  • Loading branch information
hiltontj authored Oct 2, 2024
1 parent 7a903ca commit 7d37bbb
Show file tree
Hide file tree
Showing 8 changed files with 415 additions and 234 deletions.
14 changes: 14 additions & 0 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ members = [
"influxdb3_load_generator",
"influxdb3_process",
"influxdb3_server",
"influxdb3_telemetry",
"influxdb3_test_helpers",
"influxdb3_wal",
"influxdb3_write",
"iox_query_influxql_rewrite",
"influxdb3_telemetry",
]
default-members = ["influxdb3"]

Expand Down
18 changes: 18 additions & 0 deletions influxdb3_test_helpers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "influxdb3_test_helpers"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true

[dependencies]
async-trait.workspace = true
bytes.workspace = true
futures.workspace = true
hashbrown.workspace = true
object_store.workspace = true
parking_lot.workspace = true
tokio.workspace = true

[lints]
workspace = true
1 change: 1 addition & 0 deletions influxdb3_test_helpers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod object_store;
Loading

0 comments on commit 7d37bbb

Please sign in to comment.