Commit Graph

40 Commits

Author SHA1 Message Date
Bin Liu
3e995cf29c cts: Make it run with pacemaker-1.13+
There are changes in pacemaker-cts which corosync-testagents denpends
on. With these changes, corosync-testagents can not run. This patch
fixes the issues, and makes corosync-testagents run.

Signed-off-by: Bin Liu <bliu@suse.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2016-08-04 14:08:08 +02:00
Jan Friesse
ab16f10ff7 cts: Update DC_IDLE pattern
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
2013-07-09 11:00:40 +02:00
Jan Friesse
908ed7dcb3 cts: Change DC_IDLE pattern
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-07-12 15:53:11 +02:00
Jan Friesse
cb650e93a9 cts: Change local_start[ing|ed] pattern in CTS
Previous pattern is no longer send to syslog. Use first pattern which
is.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-07-12 15:53:01 +02:00
Angus Salkeld
1a0ce3b4c2 CTS: make the systemd logic more reliable
rely on positive logic as there can be multiple
failure reasons.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-01-31 11:58:23 +11:00
Angus Salkeld
b5f643b507 CTS: add test VoteQuorumWaitForAll
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-27 20:59:22 +11:00
Angus Salkeld
1dea860e14 CTS: remove test service config
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-27 20:59:22 +11:00
Angus Salkeld
2c242d92b6 CTS: make the status command more accurate
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-27 20:59:22 +11:00
Angus Salkeld
a39055648c CTS: init votequorum by default
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-27 20:59:22 +11:00
Angus Salkeld
df06e98298 CTS: handle socket exceptions better
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-27 17:41:21 +11:00
Angus Salkeld
c01ed3dbfa CTS: fix starting/stopping of test_agents
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-25 11:33:09 +11:00
Angus Salkeld
1ba1a9ce34 CTS: fix quourm command
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-25 11:33:09 +11:00
Angus Salkeld
3b94612322 CTS: fix the corosync start/stop settings
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-23 13:08:22 +11:00
Jan Friesse
7c250a5147 Remove objdb and confdb
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2011-12-15 09:19:18 +01:00
Angus Salkeld
d3f0a492d2 CTS: add an audit to check for leaking shared memory
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2011-08-09 10:37:16 +10:00
Angus Salkeld
59397b3c0c CTS: get GenStopAllBeekhof working a bit better
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-08-09 10:37:16 +10:00
Angus Salkeld
6be329053d CTS: rename flatiron to needle
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-08-09 10:37:15 +10:00
Angus Salkeld
25842e3c53 CTS: add exit handler to test_agents
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-08-09 10:37:15 +10:00
Angus Salkeld
d0a9235902 CTS: add "Too many open files" to the BadNews pattern
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-08-09 10:37:15 +10:00
Angus Salkeld
fbc1084454 CTS: support new pacemaker-cts
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2011-08-09 10:37:15 +10:00
Angus Salkeld
f3387a8287 CTS: fix some tests that didn't handle been called more than one
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-05-05 21:39:30 +10:00
Angus Salkeld
b1d65a7e8c CTS: sort the configuration - prevent duplicates in the config file
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-05-05 21:39:30 +10:00
Angus Salkeld
fbb53397c3 CTS: bump up log messages of failed RPC
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-05-05 21:39:30 +10:00
Angus Salkeld
a166db335b CTS: add sam/wd integration tests.
- fix send_dynamic() exception
- fix basic sam integration test
- fixup calls to sam tests
- fix startup when using testquorum (currently only handles votequorum)
- improve SAM test case with better checking.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3056 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-09-27 21:14:59 +00:00
Angus Salkeld
48aff01d75 CTS: fix test_agent start/stop errors
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2813 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:25:18 +00:00
Angus Salkeld
09615628b1 CTS: fix test service configuration
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2812 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-12 09:24:43 +00:00
Angus Salkeld
a523bf183d CTS: reproduce David's bug
This patch creates a test case the runs the following steps:
1: start all nodes
2: isolate node n1
3: Kill corosync on n1
4: unisolate node n1
5: start corosync on n1
6: start cpg on all nodes
7: isolate node n1
8: Kill corosync on n1
9: unisolate node n1
10: start corosync on n1
11: Waiting for config change on n2




git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2797 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-05-03 10:59:00 +00:00
Angus Salkeld
22b7e4bbea CTS: make record events blocking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2765 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-15 23:16:52 +00:00
Angus Salkeld
aa2784ad67 CTS: add context get/set tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2764 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-15 23:15:59 +00:00
Angus Salkeld
8c476ce395 CTS: fix the test_agent start/stop/status mechanism.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2763 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-15 23:05:59 +00:00
Angus Salkeld
7face93bd8 CTS: add quorum notifications to test agents.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2761 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-04-14 01:43:52 +00:00
Angus Salkeld
621a7c0ee1 CTS: add votequorum test agent
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2747 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-30 07:20:57 +00:00
Angus Salkeld
afc6b1a1e6 CTS: add sam tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2744 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-30 07:16:43 +00:00
Angus Salkeld
15afe1d192 CTS: add a test for sync events
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2742 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-30 07:11:56 +00:00
Angus Salkeld
8df2e184f9 CTS: Add a confdb test agent and python tests.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2735 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-24 22:21:22 +00:00
Angus Salkeld
831284cec2 CTS: fix issues with new pacemaker cts
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2734 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-24 22:20:24 +00:00
Angus Salkeld
44e7eb5ca0 CTS: Add tests with more totem options.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2728 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-24 22:13:45 +00:00
Angus Salkeld
b5a9d81f1f CTS: fix buffer overrun in test agent.
Also to make debugging easier:
1) don't stop abrt
2) fix debug message
3) catch a failed mesage to the TA and fail the test.




git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2680 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-10 23:29:41 +00:00
Angus Salkeld
1924e328ca CTS: fix deletion of the tmp root for augeas
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2679 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-10 23:28:06 +00:00
Angus Salkeld
824fd8e82a Add a test harness to corosync that uses CTS from pacemaker.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2668 fd59a12c-fef9-0310-b244-a6a79926bd2f
2010-03-03 00:08:57 +00:00