Skip to content

Add gateway telemetry split regression coverage#110

Open
ilyar wants to merge 1 commit into
thingsboard:masterfrom
ever-guild:verify/issue-85
Open

Add gateway telemetry split regression coverage#110
ilyar wants to merge 1 commit into
thingsboard:masterfrom
ever-guild:verify/issue-85

Conversation

@ilyar
Copy link
Copy Markdown

@ilyar ilyar commented May 25, 2026

Summary

  • add regression coverage for gateway telemetry batches with unordered timestamps and uneven value maps
  • verify split payloads keep each telemetry key attached to its original timestamp
  • update existing split-message tests to assert data-preservation invariants instead of relying on outer payload grouping details

Context

Refs #85.

The reported issue was against an older SDK version. Current master already preserves the expected key/timestamp mapping for the reported payloads, so this PR does not change runtime behavior. It locks the behavior down with focused tests and keeps the existing split-message tests aligned with the current packing contract.

Validation

  • python -m py_compile tests/test_gateway_telemetry_split_regression.py tests/tb_device_mqtt_client_tests.py
  • python -m unittest tests.test_gateway_telemetry_split_regression tests.tb_device_mqtt_client_tests.TestSplitMessageVariants

Result: Ran 32 tests in 0.002s - OK

@ilyar ilyar force-pushed the verify/issue-85 branch from cde52f8 to 7c50890 Compare May 25, 2026 17:21
@ilyar ilyar marked this pull request as ready for review May 25, 2026 17:43
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.

1 participant