Commit Graph

208 Commits

Author SHA1 Message Date
Frank Liepold
5857f7b148 test_suite: renaming 2014-02-05 08:48:42 +01:00
Frank Liepold
f46383e0af test_suite: fix: use primary --force if network is cut yet 2014-02-05 08:48:42 +01:00
Frank Liepold
3a7ac7aab1 test_suite: more and better debug 2014-02-05 08:48:42 +01:00
Frank Liepold
0b9e671bfe test_suite: fix debug message 2014-02-05 08:48:42 +01:00
Frank Liepold
bdf75cf44a test_suite: check equality of replay links if both resource should be uptodate 2014-02-05 08:48:41 +01:00
Frank Liepold
8a8b72b96a test_suite: try to fix repair strategy for destroyed secondary. More debugging output 2014-02-05 08:48:41 +01:00
Frank Liepold
b6e8254a64 test_suite: add debug output 2014-02-05 08:48:41 +01:00
Frank Liepold
9d20793a02 test_suite: new test case 2014-02-05 08:48:41 +01:00
Frank Liepold
32c9ac2db3 test_suite: fix: destroy must wait for apply to stop and proceed to next logfile if necessary. 2014-02-05 08:48:41 +01:00
Frank Liepold
bf81056d2d test_suite: fix correct split brain and recreate resource 2014-02-05 08:48:41 +01:00
Frank Liepold
3a4a0df5ba test_suite: deactivate test case 2014-02-05 08:48:41 +01:00
Frank Liepold
6a8468ad63 test_suite: fix: kill all running test scripts even in resource_quick_prepare_first_resource 2014-02-05 08:48:41 +01:00
Frank Liepold
5a3dd45384 test_suite: make the existence of file i_am_a_testdirectory the only criterion to identify a test directory 2014-02-05 08:48:41 +01:00
Frank Liepold
a6665922b2 test_suite: use a marker file as only criterion to identify a test directory 2014-02-05 08:48:41 +01:00
Frank Liepold
506397397e test_suite: fix marsadm wait for connection during network failure 2014-02-05 08:48:41 +01:00
Frank Liepold
d3615e74e4 test_suite: fix: remove hidden files, too. 2014-02-05 08:48:41 +01:00
Frank Liepold
912fc391cc test_suite: only one method to resolve split brain is provided. 2014-02-05 08:48:41 +01:00
Frank Liepold
348bfefa2e test_suite: fix race condition between iptables and ping 2014-02-05 08:48:41 +01:00
Frank Liepold
1f795eadde test_suite: fix correct split brain 2014-02-05 08:48:41 +01:00
Frank Liepold
fab0c5ffdf test_suite: add test for partially destroyed secondary which should become primary 2014-02-05 08:48:41 +01:00
Frank Liepold
406d94b43f test_suite: allow wildcards in mars_test_cronjob.sh and rename empty -> i_am_a_testdirectory 2014-02-05 08:48:41 +01:00
Frank Liepold
bfbd719650 test_suite: new test cases (subdirectories full_apply no_full_apply) 2014-02-05 08:48:40 +01:00
Frank Liepold
81e4c0d918 test_suite: flush iptables in test prepare phase 2014-02-05 08:48:40 +01:00
Frank Liepold
f6d504a2a2 test_suite: use "quick" prepare resource 2014-02-05 08:48:40 +01:00
Frank Liepold
b58d3518a8 test_cases: new test cases concerning network restoration before and after switch to new primary 2014-02-05 08:48:40 +01:00
Frank Liepold
7cf8a5d304 test_suite: fix marsadm get role (filter new warnings of marsadm) 2014-02-05 08:43:23 +01:00
Frank Liepold
33c776e7b6 test_suite: new test cases 2014-02-05 08:43:22 +01:00
Frank Liepold
cfb005508b test_suite: fix unwanted manipulation of return code 2014-02-05 08:43:22 +01:00
Frank Liepold
a4689aac50 test_suite: renaming 2014-02-05 08:43:22 +01:00
Frank Liepold
0215a9b0d2 test_suite: adjust split brain handling 2014-02-05 08:43:22 +01:00
Frank Liepold
508646d254 test_suite: wait for connection via marsadm after having restored the network connection 2014-02-05 08:43:22 +01:00
Frank Liepold
36c5ef5d86 test_suite: don't use string parameters without "" 2014-02-05 08:43:22 +01:00
Frank Liepold
a95b2c366c test_suite: replace global with local parameter 2014-02-05 08:43:22 +01:00
Frank Liepold
5333bc5e36 test_suite: refactoring 2014-02-05 08:43:22 +01:00
Frank Liepold
c87b13bbc6 test_suite: correct comment 2014-02-05 08:43:22 +01:00
Frank Liepold
749e9fee06 test_suite: wording 2014-02-05 08:43:22 +01:00
Frank Liepold
5f1ba2595c test_suite: remove second definition 2014-02-05 08:43:22 +01:00
Frank Liepold
b9d52bcb74 test_suite: the first argument to marsadm_do_cmd must not be an option (e.g. --force) 2014-02-05 08:43:22 +01:00
Frank Liepold
61ec08c5a8 test_suite: rm superfluous test cases 2014-02-05 08:43:22 +01:00
Frank Liepold
a9577cc945 test_suite: rm superfluous test cases 2014-02-05 08:43:22 +01:00
Frank Liepold
38e8299e85 test_suite: rm superfluous test cases 2014-02-05 08:43:22 +01:00
Frank Liepold
2c81345798 test_suite: delete superfluous test cases 2014-02-05 08:43:22 +01:00
Frank Liepold
7c7672467f test_suite: add log message 2014-02-05 08:43:22 +01:00
Frank Liepold
f3e4f87df7 test_suite: fix config variable name 2014-02-05 08:43:21 +01:00
Frank Liepold
f6d8651b04 test_suite: typo 2014-02-05 08:43:21 +01:00
Frank Liepold
20b54cc525 test_suite: improve comment 2014-02-05 08:43:21 +01:00
Frank Liepold
e8e67e3721 test_suite: print whole stack before message 2014-02-05 08:43:21 +01:00
Frank Liepold
b403348040 test_suite: new test cases 2014-02-05 08:43:21 +01:00
Frank Liepold
9ddce8ac38 test_suite: renaming 2014-02-05 08:43:21 +01:00
Frank Liepold
58237629a1 test_suite: print full path or directories 2014-02-05 08:43:21 +01:00
Frank Liepold
b5f0291f66 test_suite: avoid recursive print of call stack 2014-02-05 08:43:21 +01:00
Frank Liepold
ef1c865fc4 test_suite: execute down before leave-resource 2014-02-05 08:43:21 +01:00
Frank Liepold
95cd54d700 test_suite: docu 2014-02-05 08:43:21 +01:00
Frank Liepold
df3b0c091a test_suite: formatting of test output 2014-02-05 08:43:21 +01:00
Frank Liepold
7483812f13 test_suite: set config variable 2014-02-05 08:43:21 +01:00
Frank Liepold
99b10230da test_suite: remove superfluous test cases 2014-02-05 08:43:21 +01:00
Frank Liepold
e57cdfd635 test_suite: delete superfluous test cases 2014-02-05 08:43:21 +01:00
Frank Liepold
1395a197df test_suite: don't remove file containing saved environment too early 2014-02-05 08:43:21 +01:00
Frank Liepold
4a5f16f9c5 test_suite: improve debug message 2014-02-05 08:43:21 +01:00
Frank Liepold
bbd5c67cc1 test_suite: be more verbose 2014-02-05 08:43:20 +01:00
Frank Liepold
084e33728d test_suite: allow log-rotate logrotate_loop to fail 2014-02-05 08:43:20 +01:00
Frank Liepold
1df9628447 test_suite: beautify output of start_test.sh 2014-02-05 08:43:20 +01:00
Frank Liepold
05014abdde test_suite: refactoring 2014-02-05 08:43:20 +01:00
Frank Liepold
9dfad30319 test_suite: renaming 2014-02-05 08:43:20 +01:00
Frank Liepold
d100310abb test_suite: complete split brain tests 2014-02-05 08:43:20 +01:00
Frank Liepold
a117a2fa86 test_suite: add option whether script should be removed 2014-02-05 08:43:20 +01:00
Frank Liepold
6ef35d5e3f test_suite: wait for end of initial sync removed from prepare quick function
To be consistent with resource_prepare.
2014-02-05 08:43:20 +01:00
Frank Liepold
5558eb9d65 test_suite: replace global with local parameter 2014-02-05 08:43:20 +01:00
Frank Liepold
100715e698 test_suite: add new split brain test cases 2014-02-05 08:43:20 +01:00
Frank Liepold
1bb989d41f test_suite: add resource_quick_prepare_first_resource
This function allows to recreate quickly a replication of one resource on two
hosts in contrast to the extensive checks made by resource_prepare
2014-02-05 08:43:20 +01:00
Frank Liepold
b55424e835 test_suite: formatting 2014-02-05 08:43:20 +01:00
Frank Liepold
ce362660db test_suite: add callstack to all debug output lines 2014-02-05 08:43:20 +01:00
Frank Liepold
1223e54f17 test_suite: refactoring 2014-02-05 08:43:20 +01:00
Frank Liepold
dff7d68cec test_suite: typo 2014-02-05 08:43:19 +01:00
Frank Liepold
783a05e431 test_suite: documentation 2014-02-05 08:43:19 +01:00
Frank Liepold
9f4db7cb6a test_suite: formatting of test output 2014-02-05 08:43:19 +01:00
Frank Liepold
7687011e29 test_suite: renaming 2014-02-05 08:43:19 +01:00
Frank Liepold
01b962701c test_suite: refactoring 2014-02-05 08:43:19 +01:00
Frank Liepold
d5e48c4d07 test_suite: uncomment code 2014-02-05 08:43:19 +01:00
Frank Liepold
9678782188 test_suite: refactoring 2014-02-05 08:43:19 +01:00
Frank Liepold
87f7c94260 test_suite: remove private ssh trash 2014-02-05 08:43:19 +01:00
Frank Liepold
1a6420b6e7 test_suite: replace associative array by "normal array" to specify order of test execution 2014-02-05 08:43:19 +01:00
Frank Liepold
e8473b34d0 test_suite: syntax error 2014-02-05 08:43:19 +01:00
Frank Liepold
516b293d47 test_suite: remove superfluous variable 2014-02-05 08:43:19 +01:00
Frank Liepold
1def318035 test_suite: fix variable name 2014-02-05 08:43:19 +01:00
Frank Liepold
af095565a1 test_suite: use --config_root_dir option of start_test.sh
Now we can start single test cases *and* specify explicitly which *.conf
files are to be incorporated.
2014-02-05 08:43:19 +01:00
Frank Liepold
a9192717b3 test_suite: take verbose_script = 1 as default 2014-02-05 08:43:18 +01:00
Frank Liepold
82f0658738 test_suite: new test cases 2014-02-05 08:43:18 +01:00
Frank Liepold
cc7022d06a test_suite: correct option --config_root_dir 2014-02-05 08:43:18 +01:00
Frank Liepold
235ea41020 test_suite: correct documentation 2014-02-05 08:43:18 +01:00
Frank Liepold
131b40d5f1 test_suite: option --config_root_dir allows to source arbitrary parent .conf files 2014-02-05 08:43:18 +01:00
Frank Liepold
d3db812fdf test_suite: more debug 2014-02-05 08:43:18 +01:00
Frank Liepold
c69a7fb662 test_suite add new test case to cronjob 2014-02-05 08:43:18 +01:00
Frank Liepold
7f97cabbcb test_suite: continue test for marsadm --force primary 2014-02-05 08:43:18 +01:00
Frank Liepold
736e08ed3b test_suite: to calculate checksums take mars size of data device 2014-02-05 08:43:18 +01:00
Frank Liepold
792b1b44b4 test_suite: adjust path names 2014-02-05 08:43:18 +01:00
Frank Liepold
77c99bb88d test_suite: current state 2014-02-05 08:43:18 +01:00
Frank Liepold
1cc14e6473 test_suite: current state 2014-02-05 08:35:53 +01:00
Frank Liepold
022c09a1e9 tests: Documentation and minor bugs 2014-02-05 08:34:40 +01:00
Frank Liepold
39b37c9c72 test_suite: to calculate checksums take mars size of data device 2013-12-12 10:59:43 +01:00
Frank Liepold
376822f5a8 test_suite: adjust path names 2013-12-12 10:59:43 +01:00
Frank Liepold
2d62180de9 test_suite: current state 2013-12-12 10:59:01 +01:00
Frank Liepold
a9cfd8b95b test_suite: Documentation and minor bugs 2013-12-12 10:55:56 +01:00
Frank Liepold
f3c9d8757f test_suite: current state
Signed-off-by: Thomas Schoebel-Theuer <schoebel@bell.site>
2013-11-20 11:13:57 +01:00
Frank Liepold
18fd90d538 test_suite: current state
Signed-off-by: Thomas Schoebel-Theuer <schoebel@bell.site>
2013-11-07 10:38:21 +01:00
Frank Liepold
6b41af4cd9 test_suite: new and updated test cases 2013-09-17 13:36:27 +02:00
Frank Liepold
96be062f63 tests: update 2013-08-06 14:40:16 +02:00
Frank Liepold
d01389e171 tests: add test suite (work in progress) 2013-07-04 10:22:39 +02:00