Skip to content

Commit b9817dc

Browse files
authored
fix(dfget): get wrong entries and add tests for entry retrieval functions (#1373)
* feat(grpc): add new DfdaemonDownloadClient creation method Signed-off-by: Gaius <gaius.qi@gmail.com> * test(dfget): add tests for entry retrieval functions Signed-off-by: Gaius <gaius.qi@gmail.com> --------- Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 590f9ed commit b9817dc

File tree

6 files changed

+380
-9
lines changed

6 files changed

+380
-9
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ hostname = "^0.4"
117117
tonic-health = "0.12.3"
118118
hashring = "0.3.6"
119119
reqwest-tracing = "0.5"
120+
mocktail = "0.3.0"
120121

121122
[profile.release]
122123
opt-level = 3

dragonfly-client-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ protobuf = "3.7.2"
5151

5252
[dev-dependencies]
5353
tempfile.workspace = true
54-
mocktail = "0.3.0"
54+
mocktail.workspace = true

dragonfly-client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ console-subscriber = "0.4.1"
9393

9494
[dev-dependencies]
9595
tempfile.workspace = true
96+
mocktail.workspace = true
9697

9798
[target.'cfg(not(target_env = "msvc"))'.dependencies]
9899
tikv-jemallocator = { version = "0.5.4", features = ["profiling", "stats", "unprefixed_malloc_on_supported_platforms", "background_threads"] }

0 commit comments

Comments
 (0)