Skip to content

test(spans): Add add-buffer Lua script tests#115801

Merged
lvthanh03 merged 1 commit into
masterfrom
tony/add-tests-lua
May 19, 2026
Merged

test(spans): Add add-buffer Lua script tests#115801
lvthanh03 merged 1 commit into
masterfrom
tony/add-tests-lua

Conversation

@lvthanh03
Copy link
Copy Markdown
Member

@lvthanh03 lvthanh03 commented May 19, 2026

Refs STREAM-997

Adds direct coverage for add-buffer.lua. The new tests execute the Lua script and assert the Redis keys, counters, sets, TTLs, and return metrics owned by the script without running through the higher-level span buffer or flusher flow.

The tests cover:

  • segment metadata creation
  • child segment merging
  • byte-limit detaches
  • flush-lock detaches
  • large child member-key set (unpack bug)

@lvthanh03 lvthanh03 requested review from a team as code owners May 19, 2026 14:53
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 19, 2026

STREAM-997

@lvthanh03 lvthanh03 merged commit 69f8bbc into master May 19, 2026
58 checks passed
@lvthanh03 lvthanh03 deleted the tony/add-tests-lua branch May 19, 2026 15:16
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.

2 participants