Commit Graph

208 Commits

Author SHA1 Message Date
Frank Liepold
c840abcc1d test_suite: fix wrong test case name 2014-03-19 17:38:02 +01:00
Frank Liepold
7f68d167b8 test_suite: fix don't remove the block special file! 2014-03-19 17:38:02 +01:00
Frank Liepold
d8b3e6da7c test_suite: refactoring 2014-03-19 17:38:02 +01:00
Frank Liepold
7f66424118 test_suite: fix wrong test case name 2014-03-19 17:38:02 +01:00
Frank Liepold
ed4ebbe3d8 test_suite: use uniform directory for --config_root_dir 2014-03-19 17:38:02 +01:00
Frank Liepold
15497f8984 test_suite: create emtpy *.conf files for conveniance
Now you can always use
.../start_test.sh --config_root_dir=<test suite dir>/test_cases
instead of having to provide different values for config_root_dir
2014-03-19 17:38:02 +01:00
Frank Liepold
121ca3395c test_suite: add missing test case 2014-03-19 17:38:02 +01:00
Frank Liepold
50b4efb2b3 test_suite: create emtpy *.conf files for conveniance
Now you can always use
.../start_test.sh --config_root_dir=<test suite dir>/test_cases
instead of having to provide different values for config_root_dir
2014-03-19 17:38:02 +01:00
Frank Liepold
3d006be0ad test_suite: fix initialize 5.total.log 2014-03-19 17:38:02 +01:00
Frank Liepold
d4b983f120 test_suite: fix uninitialized variable 2014-03-19 17:38:02 +01:00
Frank Liepold
63d5fc6d57 test_suite: correct position of debug message 2014-03-19 17:38:02 +01:00
Frank Liepold
eafdd66914 test_suite: fix check for logfiles of host beeing nor primary nor designated primary 2014-03-19 17:38:01 +01:00
Frank Liepold
c831e34cec test_suite: new test case for logging messages in syslogds logfile 2014-03-19 17:38:01 +01:00
Frank Liepold
e21d048709 test_suite: remove calls to marsview. We only use marsadm view-1and1. 2014-03-19 17:38:01 +01:00
Frank Liepold
c2a054cdb6 test_suite: fix don't use oflag=direct
In the test test_suite/mars/test_cases/admin/datadev_full oflag=direct leads
to abort of the dd with "invalid argument" in the second call to
datadev_full_dd_on_device in the loop in resize_check_resize_post_conditions.
2014-03-19 17:38:01 +01:00
Frank Liepold
76c7545dde test_suite: fix forgotten local declaration 2014-03-19 17:38:01 +01:00
Frank Liepold
06788be7b0 test_suite: fix emergency mode tests 2014-03-19 17:38:01 +01:00
Frank Liepold
204a5cad20 test_suite: refactoring 2014-03-19 17:38:01 +01:00
Frank Liepold
c50aa7ee86 test_suite: check for command truncate to be installed 2014-03-19 17:38:01 +01:00
Frank Liepold
802d96cd8d test_suite: increase size of /mars to 25GB 2014-03-19 17:38:01 +01:00
Frank Liepold
6ff446dac1 test_suite: complete test case test_cases/hardcore/mars_dir_full/per_resource_emergency/only_one_resource 2014-03-19 17:38:01 +01:00
Frank Liepold
edb53882b9 test_suite: use marsadm view-1and1 instead of marsview 2014-03-19 17:38:01 +01:00
Frank Liepold
56b6b382a7 test_suite: new test cases WIP 2014-03-19 17:38:01 +01:00
Frank Liepold
55e80074d9 test_suite: correct positional parameter 2014-03-19 17:38:01 +01:00
Frank Liepold
eca8209d5f test_suite: use MB instead of GB 2014-03-19 17:38:01 +01:00
Frank Liepold
11a051ffd8 test_suite: refactoring 2014-03-19 17:38:01 +01:00
Frank Liepold
64e157e0be test_suite: add parameter 2014-03-19 17:38:01 +01:00
Frank Liepold
e487d8f128 test_suite: remove comment, do general error checks 2014-03-19 17:38:01 +01:00
Frank Liepold
41b6ea2dd6 test_suite: refactoring 2014-03-19 17:38:01 +01:00
Frank Liepold
3d7be60d4e test_suite: remove out commented code 2014-03-19 17:38:01 +01:00
Frank Liepold
463e15c0a6 test_suite: increase wait time, call some preparatory functions 2014-03-19 17:38:01 +01:00
Frank Liepold
011bbb2b3f test_suite: test case for marsadm set-sync-pref-list and set-sync-limit-value 2014-03-19 17:38:01 +01:00
Frank Liepold
ba24681d43 test_suite: thomas new method and log-purge-all patches 2014-03-19 17:38:01 +01:00
Frank Liepold
989fbaa067 test_suite: new test cases: network cut before leave-resource in split brain resolution 2014-03-19 17:38:00 +01:00
Frank Liepold
0e46d23291 test_suite: formatting 2014-03-19 17:38:00 +01:00
Frank Liepold
e468217570 test_suite: marsadm primary --force needed only for switch of designated primary 2014-03-19 17:38:00 +01:00
Frank Liepold
cb21daa338 test_suite: debug output and simplification of split brain correction
debug output for marsview <-> marsadm view-1and1 comparison
WIP: split brain correction contains debug output to be removed.
2014-03-19 17:38:00 +01:00
Frank Liepold
8c6e37e142 test_suite: print only result line to stdout 2014-03-19 17:38:00 +01:00
Frank Liepold
b424e63c99 test_suite: to correct split brain always do primary --force on designated primary 2014-03-19 17:38:00 +01:00
Frank Liepold
516b541c6e test_suite: use --force 2014-03-19 17:38:00 +01:00
Frank Liepold
b509b26845 test_suite: print symlinks in case of COMPARE BAD 2014-03-19 17:38:00 +01:00
Frank Liepold
835749b3bd test_suite: speedup bad compares 2014-03-19 17:38:00 +01:00
Frank Liepold
2a2ab520f3 test_suite: print to stderr 2014-03-19 17:38:00 +01:00
Frank Liepold
edf1ff403f test_suite: remove blank 2014-03-19 17:38:00 +01:00
Frank Liepold
7c8f6d320d test_suite: ignore message SPLIT BRAIN in marsadm view-1and1 2014-03-19 17:38:00 +01:00
Frank Liepold
2972e11224 test_suite: very detailed comparison of marsview with marsadm view-1and1 2014-03-19 17:38:00 +01:00
Frank Liepold
d2ea3b29f9 test_suite: compare marsview with marsadem view-1and1 2014-03-19 17:38:00 +01:00
Frank Liepold
77a460a0eb test_suite: fix too early ssh after succeeding ping 2014-02-05 10:56:49 +01:00
Frank Liepold
e38d873564 test_suite: separation of frame work and use case mars
The mars test cases are now located in .../test_suite/mars.
The use case .../test_suite/example describes how the frame work works (please
refer to README).
mars_test_cronjob.sh have a second parameter which specifies the use case
directory (.../test_suite/mars).
The leading numbers in the module numbers are no longer needed.
2014-02-05 08:48:42 +01:00
Frank Liepold
f9d42097c8 test_suite: refactoring 2014-02-05 08:48:42 +01:00
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