pingcap / pingcap/ticdc

test: Adapt in_flight_syncpoint_during_scheduling for next-gen mode

Open
#4,280 0 comments 0 reactions 1 assignee View on GitHub

@tenfyzhong is already working on this.

Since Feb 26, 2026.

type/enhancement
Dominant language
Go
Stars
56
Forks
63
Avg merge
2d 20h
Merged PRs (30d)
34

Description

Description

The integration test in_flight_syncpoint_during_scheduling needs to be updated to be compatible with next-gen mode.

Context

This test currently assumes behavior in the existing scheduling flow. In next-gen mode, scheduling behavior and timing can differ, which may make the current assertions or setup incompatible.

Steps to Reproduce

  1. Run the integration test suite with next-gen mode enabled.
  2. Execute the in_flight_syncpoint_during_scheduling case.
  3. Observe incompatibility/failure under next-gen mode.

Proposed Solution

  • Review test assumptions that are tied to legacy scheduling behavior.
  • Refactor setup/assertions so the test validates expected behavior in next-gen mode.
  • Keep behavior checks deterministic across both modes if dual-mode support is required.

Additional Information

  • Test case: in_flight_syncpoint_during_scheduling
  • Area: integration tests / scheduling / syncpoint

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.