Tue Apr 28 14:48:21 PDT 2009
- Previous message: [Slony1-commit] slony1-engine/tests/testlargetuples generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/tests/testlogship generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/testlistenpaths
In directory main.slony.info:/tmp/cvs-serv6415/testlistenpaths
Modified Files:
Tag: REL_2_0_STABLE
generate_dml.sh
Log Message:
Revise tests to NOT use poll_cluster to "wait until everything has
propagated according to sl_status" - instead, we use SYNC/WAIT FOR
EVENT, which submits an event against the origin, and then waits until
that specific event has propagated.
This means we're testing WAIT FOR EVENT a lot more stringently, and
allows tests to run a lot quicker in cases where it takes a while
for the nodes to decide they are instantaneously "in sync"
Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testlistenpaths/generate_dml.sh,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** generate_dml.sh 21 Sep 2007 21:34:56 -0000 1.1
--- generate_dml.sh 28 Apr 2009 21:48:19 -0000 1.1.2.1
***************
*** 65,69 ****
{
generate_initdata
- launch_poll
for org in 1 2; do
eval db=\$DB${org}
--- 65,68 ----
***************
*** 83,86 ****
--- 82,86 ----
fi
status "data load complete for node ${org}"
+ wait_for_catchup
done
}
- Previous message: [Slony1-commit] slony1-engine/tests/testlargetuples generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/tests/testlogship generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list