Zum Inhalt springen
Kitbay
Skill

tidb-realtikv-runner

Apache-2.0Aktualisiert am 11. Nov. 202640.730GitHub-Sterne

A maintainer skill in the TiDB repository for running the tests under tests/realtikvtest, which need a real TiKV storage cluster.

Was der Skill vermittelt

A maintainer skill in the TiDB repository for running the tests under tests/realtikvtest, which need a real TiKV storage cluster. The agent follows the standard or cleanup-safe flow in the repository's agent testing guide: it starts a local TiUP playground in the background, waits until it is ready, uses the default placement driver address unless a port clash forces another, and runs only the named test in the target folder. Failpoints are enabled before the run when the tests need them and disabled afterwards, and the agent finishes by stopping the playground, removing its data and checking that the placement driver no longer answers, so nothing is left running.

Funktionen

  • Start and check a local TiUP playground
  • Run one real-TiKV test at a time
  • Clean up the playground after tests