-
Notifications
You must be signed in to change notification settings - Fork 79
Make possible to pass startup options to PS servers for --test_mode #119
Comments
I have changed an idea for passing MySQL options: |
Basically, what I am going to do, to create list of option combinations then:
And repeat this action for all option combinations |
Here is the draft code for option combinations creation: |
Options are generated properly now, based on PS version:
|
I have decided to change the logic of calling tests. |
So according test run and the results this issue implemented fully.
Merging to release_v1.4.9 |
* Preliminary fix for issue #119 * Removed redundant code * Added new prepare_env.bats file for preparing full test env * Added new test for options combination generator method * Fixed typo * Added assert statement * Trying to spot fail reason here * Adding another test for return tupe from method * Added new tests for final usage testing * Added print message for showing function output * Fixing option parsing and passing * Removed redundant print message * commented some code portions * Calling staticmethod with passing config * Added redundant print statement * Added another print statement here * Added some debug messages * Changed test function names * Added TODO
* Bugfix issue99 (#100) * Preliminary fix for issue #99 * Trying to fix AtributeError * Fixing path issue * Added another test for method * Trying to fix an issue with git command * Added test for build_server method * Added all tests for available methods * Implemented different class structure added sysbench run class; now testing PyTest * Fixing pytest conftest.py * Added pytest for run_benchmark.py * Fixing the issue with class method calling * Fixing class name * Masking something for running awk command * Trying to fix failed thing * Trying to fix N2 * Trying POPEN * Trying to path basedir * Failing thing is too annoying :) * Again failed here * Failed again here N111 * Using subprocess.PIPE * Trying to use Pythonic way to extract socket file * fixing sql statement * Trying to fix sql statement * Trying to print the output from sysbench * Failed socket name for sysbench * Fixing socket file usage in tests also * Finalizing the feature implementation * Bugfix issue101 (#102) * Preliminary fix for issue #101 * Trying to fix fail reason * Trying to spot fail reason * Fixing the latest fail about path issue * Fixing all script calling * Using all_no_cl script * get_basedir() function a bit * Fixing the all_runner() usage * Fixing latest fail * Trying to get full path for basedir * Trying to print statement * Slightly changed the get_basedir() function * Fixed the failed path * Removed redundant print statement * Added unit test for get_basedir() * Trying to use regex search * Trying to get the basedir using regex * another commit * Fixed failed PS cloning * Added some more debug messages * Added new test * New debug message * Finalizing this feature implementation * Bugfix issue104 (#105) * Added method for getting xb package and unit test for this method * Passed the unit test * Added method for extracting from archive * Trying to fix the failed test * Trying to extract to right folder * Again something failed here * Trying to fix some subtask * Added main function for generating config files with pytests * logging the failed message * Trying fix interesting error * Trying to fix again this error * Failed again with this option values must be strings error * Changed a bit file handling * Trying to raise an exception * Calling function from file * Trying to spot the fail reason * Removed redundant code * Added [Backup] section generation for config * Finalizing the config file generation * Bugfix issue103 (#106) * Preliminary fix for issue #103 * Trying to access testpath from GeneralClass * It seems to be the wrong key generated in config generator * Trying to fix some issues * Changed conftest.py * Trying to fix class inheritance issue * Calling Backup class directly here * Fixing failed format function * converting to int * Trying to fix check_mysql_conf() methdod * Trying to fix check_mysql_conf() again * Trying to fix check_mysql_conf() again and again * Fixing mysql_connection_flush_logs() method * Added another check here * Trying to fix config generator * Trying to catch SystemExit * Commented exit()s * Finalizing this feature implementation * Added this to RunnerTestMode class * Bugfix issue107 (#108) * Preliminary fix for issue #107 * Finalizing the feature implementation * Preliminary fix for issue #109 (#110) * Bugfix issue111 (#112) * Preliminary fix for issue #111 * Added new files to percona-qa and started to use them based on PS versions * Added new test for printing result * Changed a bit get_basedir() method to return list of basedirs * prepare_startup() method also affected by these changes changed test a bit * Changed test_start_server() and test_wipe_server_all() methods * Bugfix issue113 (#114) * Preliminary fix for issue #113 * Trying to fix failed test * Wrong config file generated for 2.3 xb version * Trying to fix 2.3 pxb config creation * Trying to spot why the thing is failed * Trying to fix again * Changed for loop execution * Changed a bit config generation * Changed test function * Again faile to generate 5.6 version of xb 2.4 config * Again faile to generate 5.6 version of xb 2.4 config N2 * Trying to print statements * Changed a bit for loop * It seems to be I am a bit sleepy and made a pretty mistake * Finalizing the feature implementation * Bugfix issue115 (#118) * Preliminary fix for issue 115 * Preliminary fix for issue #115 * Bugfix issue122 (#123) * Changed test_get_sock() method * Changed test_get_mysql_conn() and test_create_db() methods * Changed test_run_sysbench() * Finalizing the fix * Bugfix issue120 (#124) * Preliminary fix for issue #120 * Fixed the test for splitting xb_configs option * Changed config generation for backup folders * Changed xb folder checking * Bugfix issue125 (#126) * Preliminary fix for issue #125 * Added another test for copy_back actions * Finalizing the issue implementation * Bugfix issue119 (#127) * Preliminary fix for issue #119 * Removed redundant code * Added new prepare_env.bats file for preparing full test env * Added new test for options combination generator method * Fixed typo * Added assert statement * Trying to spot fail reason here * Adding another test for return tupe from method * Added new tests for final usage testing * Added print message for showing function output * Fixing option parsing and passing * Removed redundant print message * commented some code portions * Calling staticmethod with passing config * Added redundant print statement * Added another print statement here * Added some debug messages * Changed test function names * Added TODO * Bugfix issue128 (#129) * Preliminary fix for issue #128 * Trying to override new paths * Trying to figure out why new path is not passed here * Trying to fix path passing for environment check class * Trying to pass inc_dir and full_dir path to CheckEnv() class * Bugfix issue130 (#131) * Preliminary fix for issue #130 * Finalizing this issue fix * Preliminary fix for issue #132 (#133) * Preliminary fix for issue #116 (#134) * Preliminary fix for issue #135 (#136) * Bugfix issue138 (#139) * Preliminary fix for issue #138 * Fix for failed class call * Added new test and fixed previous one for issue #140 (#141) * Bugfix issue137 (#142) * Added new test mode doc. Also updated few things in previous docs for issue #137 * Added few more notes * Added few more things into DOC * Version bump for autoxtrabackup
The idea is:
So the work flow should be:
Run becnhmark, Take backup of this server and prepare and restore.
Then continue such:
And so on. This will cover possible MySQL options interactions with XtraBackup.
The text was updated successfully, but these errors were encountered: