Skip to content

swi0110/docker_for_ctp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for CTP

ctp.sh [Test scenario] -c [CTP/conf/*.conf]

You can execute the CTP in docker.

Container construct

All users password was 1234.

Container name ip User Role Tools
docker_for_ctp_01 172.200.1.2 ctp Controller & SQL, SQL_BY_CCI,
MEDIUM, JDBC unit test
CTP, cubrid-testcases
ha_repl_01 HA_REPL(Master), HA_SHELL(Master), SHELL test CTP
docker_for_ctp_02 172.200.1.3 ctp Controller & SQL, SQL_BY_CCI,
MEDIUM, JDBC unit test
CTP, cubrid-testcases
ha_repl_01 HA_REPL(Slave), HA_SHELL(Slave), SHELL test CTP



How to create the container?

Execute the 'make_for_container.sh'.
It makes the 2 containers.

The container name is 'docker_for_ctp_01', 'docker_for_ctp_02'.
And you can connect the container by SSH.

How to install the CUBRID?

If you download the 'CUBRID.sh' into the 'ctp_config/CUBRID_engine/', it is easy.
Execute the 'install_CUBRID.sh'.

The normal way is please refer to the CUBRID manual.
https://www.cubrid.org/manual/en/10.2/install.html#installing-and-running-cubrid-on-linux

How to execute the ctp test?

ctp.sh [Test scenario] -c [CTP/conf/*.conf] (ex : ctp.sh sql -c ~/CTP/conf/sql.conf )

If you want to change the 'test scenario path', open the 'CTP/conf/*.conf'.
and change the 'scenario' variable.

The detail is followed to refer to this.
https://github.com/CUBRID/cubrid-testtools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published