Chris Browne cbbrowne at lists.slony.info
Tue Jun 12 11:14:34 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tests/testmultiplemoves
In directory main.slony.info:/tmp/cvs-serv4882

Modified Files:
      Tag: REL_1_2_STABLE
	README generate_dml.sh init_subscribe_set.ik 
Log Message:
test with multiple MOVE SET requests

- Cut down on amount of data generated to let the test run quicker
- Document properly that this involves 2 sets (not 10)


Index: README
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testmultiplemoves/README,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** README	18 Aug 2006 18:59:40 -0000	1.2
--- README	12 Jun 2007 18:14:32 -0000	1.2.2.1
***************
*** 2,8 ****
  
  testmultiplemoves is a test that exercises MOVE SET on a 3 node
! cluster with 10 replication sets.
    
! The interesting bit is that it requests MOVE SET on all 10 sets...
  
  This may be expected to "stress" things such as...
--- 2,8 ----
  
  testmultiplemoves is a test that exercises MOVE SET on a 3 node
! cluster with 2 replication sets.
    
! The interesting bit is that it requests MOVE SET on all the sets...
  
  This may be expected to "stress" things such as...

Index: init_subscribe_set.ik
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testmultiplemoves/init_subscribe_set.ik,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** init_subscribe_set.ik	27 Oct 2006 19:43:09 -0000	1.2.2.1
--- init_subscribe_set.ik	12 Jun 2007 18:14:32 -0000	1.2.2.2
***************
*** 1,2 ****
--- 1,4 ----
+ sleep (seconds=2);
+ 
  subscribe set (id=1, provider=1, receiver = 2, forward=yes);
  wait for event (origin=2, confirmed=1);

Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testmultiplemoves/generate_dml.sh,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -C2 -d -r1.3.2.2 -r1.3.2.3
*** generate_dml.sh	2 Apr 2007 18:51:56 -0000	1.3.2.2
--- generate_dml.sh	12 Jun 2007 18:14:32 -0000	1.3.2.3
***************
*** 23,27 ****
  generate_initdata()
  {
!   numrows=$(random_number 50 1000)
    i=0;
    trippoint=`expr $numrows / 20`
--- 23,27 ----
  generate_initdata()
  {
!   numrows=$(random_number 150 200)
    i=0;
    trippoint=`expr $numrows / 20`



More information about the Slony1-commit mailing list