What problem does it solve?
This Skill produces well-formed CUBRID CTP HA shell testcase drafts so engineers no longer have to manually assemble HA setup, replication checks, and cleanup boilerplate for HA scenarios.
Core Features & Use Cases
- Structured HA lifecycle: Ensures scripts use bash, source init.sh and make_ha.sh, call setup_ha_environment, and always call revert_ha_environment before finish.
- Replication & failover patterns: Generates patterns for DML replication verification, failover promotion checks, and configuration-change tests using run_on_slave and wait_for_slave helpers.
- CTP conventions & placement: Adheres to CTP naming, directory placement under cubrid-testcases-private/HA/shell, uses dbname=hatestdb, and forbids hardcoded hosts or absolute paths.
Quick Start
Create a draft HA shell testcase that sets up hatestdb, verifies replication with wait_for_slave, and includes proper cleanup with revert_ha_environment.