Skip to content

Conversation

vishalv1994
Copy link
Contributor

This change introduces a new test file pkg/kv/util_test.go that provides extensive test coverage for the marshalKey and marshalValue utility functions. The tests cover various input types including roachpb types, primitive types, custom types, and error conditions.

Epic: none

Release note: None

@vishalv1994 vishalv1994 requested a review from a team as a code owner August 15, 2025 19:24
@vishalv1994 vishalv1994 self-assigned this Aug 15, 2025
@vishalv1994 vishalv1994 requested review from Copilot and removed request for a team August 15, 2025 19:25
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link

cockroachlabs-cla-agent bot commented Aug 15, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive test coverage for the marshalKey and marshalValue utility functions in the KV package. The tests validate the marshaling behavior for various data types including roachpb types, primitive types, custom types, and error conditions.

  • Introduces new test file pkg/kv/util_test.go with 409 lines of test code
  • Provides extensive test coverage for both marshalKey and marshalValue functions
  • Tests include validation of successful marshaling cases and error conditions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vishalv1994 vishalv1994 force-pushed the pkg-kv-util-tests branch 2 times, most recently from adc42dd to 0fcba39 Compare August 15, 2025 20:31
@vishalv1994 vishalv1994 requested a review from a team August 15, 2025 20:35
This change introduces a new test file `pkg/kv/util_test.go` that
provides extensive test coverage for the `marshalKey` and `marshalValue`
utility functions. The tests cover various input types including roachpb
types, primitive types, custom types, and error conditions.

Epic: none

Release note: None
@vishalv1994 vishalv1994 added skipped-test A-testing Testing tools and infrastructure and removed skipped-test labels Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Testing tools and infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants