Skip to content

test(logging): add unit tests for gRPC logging config parsing#8738

Open
archy-rock3t-cloud wants to merge 2 commits intothanos-io:mainfrom
sophotechlabs:add-test/logging-grpc-config
Open

test(logging): add unit tests for gRPC logging config parsing#8738
archy-rock3t-cloud wants to merge 2 commits intothanos-io:mainfrom
sophotechlabs:add-test/logging-grpc-config

Conversation

@archy-rock3t-cloud
Copy link
Copy Markdown

  • Change is not relevant to the end user.

Changes

Add unit tests for validateLevel, getGRPCLoggingOption, getHTTPLoggingOption, checkOptionsConfigEmpty, and fillGlobalOptionConfig.

Verification

go test -tags slicelabels ./pkg/logging/ -run "TestValidateLevel|TestGetGRPC|TestGetHTTP|TestCheckOptions|TestFillGlobal" passes.

@archy-rock3t-cloud archy-rock3t-cloud force-pushed the add-test/logging-grpc-config branch from 174d488 to cf3b8dc Compare March 28, 2026 18:07
Signed-off-by: Artem Muterko <artem@sopho.tech>
@archy-rock3t-cloud archy-rock3t-cloud force-pushed the add-test/logging-grpc-config branch from cf3b8dc to fe94076 Compare March 28, 2026 18:10
Signed-off-by: Artem Muterko <artem@sopho.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant