GithubHelp home page GithubHelp logo

isabella232 / galera-qa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mariadb-corporation/galera-qa

0.0 0.0 0.0 11.72 MB

MariaDB Galera Testing Tool

License: GNU General Public License v2.0

Python 5.50% Makefile 0.02% GDB 0.03% Yacc 44.98% Perl 29.69% C++ 13.75% Shell 3.72% Batchfile 0.03% Raku 0.03% Lua 2.25%

galera-qa's Introduction

GALERA QA Framework

This suite will help us to test MariaDB Galera Cluster with various testcases. You can customize the testcases using configuration files without disturbing main code.

Configuration details

Basic configuration details are available in config.ini file. You need to change the configurations as per your environment.

config.ini

[config]
workdir = /dev/shm/qa
basedir = /dev/shm/qa/GAL_MD240221-mariadb-10.6.0-linux-x86_64-opt
server=mdg
node = 3
user = root
md1_socket = /tmp/mdnode1.sock
md2_socket = /tmp/mdnode2.sock
md3_socket = /tmp/mdnode3.sock
pt_basedir = /dev/shm/qa/percona-toolkit-3.0.10
pquery_bin = /dev/shm/qa/pquery2-md
pquery_grammer_file = /dev/shm/qa/grammer.sql

[sysbench]
sysbench_user=sysbench
sysbench_pass=sysbench
sysbench_db=sbtest
sysbench_table_count = 10
sysbench_threads = 10
sysbench_normal_table_size = 1000
sysbench_run_time = 300
sysbench_load_test_table_size = 100000
sysbench_random_load_table_size = 1000
sysbench_random_load_run_time = 100
sysbench_oltp_test_table_size = 10000000
sysbench_read_qa_table_size = 100000
sysbench_customized_dataload_table_size = 1000


[upgrade]
galera_lower_base = /dev/shm/qa/GAL_MD240221-mariadb-10.5.10-linux-x86_64-opt
galera_upper_base = /dev/shm/qa/GAL_MD240221-mariadb-10.6.0-linux-x86_64-opt

If you need to start MariaDB Galera Cluster with custom configuration you should add the parameters in custom.cnf

Initializing framework

python3 qa_framework.py --testname=suite/replication/replication.py

Script usage info

usage: QA Framework [options]

optional arguments:
  -h, --help            show this help message and exit
  -t TESTNAME, --testname TESTNAME
                        Specify test file location
  -p {mdg,md}, --product {mdg,md}
                        Specify product(mdg/md) name to test
  -s [{sysbench_run,loadtest,replication,correctness,ssl,upgrade,random_qa,galera_sr} [{sysbench_run,loadtest,replication,correctness,ssl,upgrade,random_qa,galera_sr} ...]], --suite [{sysbench_run,loadtest,replication,correctness,ssl,upgrade,random_qa,galera_sr} [{sysbench_run,loadtest,replication,correctness,ssl,upgrade,random_qa,galera_sr} ...]]
                        Specify suite name
  -e, --encryption-run  This option will enable encryption options
  -d, --debug           This option will enable debug logging

galera-qa's People

Contributors

hrvojem avatar mariadb-rameshsivaraman avatar rameshvs02 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.