Skip to content

event: add regression test for DDLEvent.NotSync encoding #4419

@wlwilliamx

Description

@wlwilliamx

Is your feature request related to a problem?

DDLEvent.NotSync controls whether a dispatcher forwards a DDL to downstream sinks. There is no unit test asserting that NotSync survives DDLEvent.Marshal()/Unmarshal(), so a future encoding change could silently break the skip behavior.

Describe the feature you'd like

Add a Marshal/Unmarshal round-trip unit test that sets NotSync=true and asserts it remains true after decoding.

Describe alternatives you've considered

Rely on code review only.

Teachability, Documentation, Adoption, Migration Strategy

N/A

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions