Skip to content

Commit cfab05a

Browse files
committed
kv: add comprehensive tests for Batch operations
This commit adds extensive unit tests for the kv.Batch type, covering all major operations including Get, Put, Scan, Delete, conditional operations, bulk operations, and admin methods. Tests also cover error handling, buffer management, and raw vs non-raw batch mixing. Release notes: None Epic: None
1 parent 34a67e1 commit cfab05a

File tree

2 files changed

+493
-0
lines changed

2 files changed

+493
-0
lines changed

pkg/kv/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ go_test(
5151
size = "medium",
5252
srcs = [
5353
"admission_test.go",
54+
"batch_test.go",
5455
"client_test.go",
5556
"db_test.go",
5657
"main_test.go",

0 commit comments

Comments
 (0)