Skip to content

test(rw2): add nhcb testcases to remote write 2.0#16409

Merged
krajorama merged 1 commit intomainfrom
krajo/test-nhcb-over-rw2
Apr 9, 2025
Merged

test(rw2): add nhcb testcases to remote write 2.0#16409
krajorama merged 1 commit intomainfrom
krajo/test-nhcb-over-rw2

Conversation

@krajorama
Copy link
Member

Ref: #15021

Also modified spansToSpansProto to not allocate empty bucket spans array when converting internal model to remote write model. Otherwise the test TestDecodeWriteV2Request fails since empty array is marshaled/unmarshaled as nil so we don't get back the exact same thing.

Ref: #15021

Also modified spansToSpansProto to not allocate empty bucket spans array
when converting internal model to remote write model.
Otherwise the test TestDecodeWriteV2Request fails since empty array
is marshaled/unmarshaled as nil so we don't get back the exact same
thing.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@krajorama krajorama marked this pull request as ready for review April 8, 2025 13:47
Copy link
Member

@jesusvazquez jesusvazquez left a comment

Choose a reason for hiding this comment

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

LGTM left a tiny question but the rest of the changes look legit!

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Thanks!

@krajorama krajorama merged commit b4526c0 into main Apr 9, 2025
45 checks passed
@krajorama krajorama deleted the krajo/test-nhcb-over-rw2 branch April 9, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants