Wed Feb 13 10:39:20 PST 2008
- Previous message: [Slony1-commit] slony1-engine/redhat postgresql-slony1.specfile
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/test1 In directory main.slony.info:/tmp/cvs-serv22853 Modified Files: README generate_dml.sh Log Message: test1 runs "cleanupEvent()" function by hand Index: README =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/README,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** README 11 Dec 2007 20:37:39 -0000 1.11 --- README 13 Feb 2008 18:39:17 -0000 1.12 *************** *** 30,31 **** --- 30,33 ---- 8. It uses a slon.conf file for node #2 to make sure that the logic of the config file parser gets exercised. + + 9. It runs the cleanupEvent() function by hand Index: generate_dml.sh =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/generate_dml.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** generate_dml.sh 11 Dec 2007 20:37:39 -0000 1.15 --- generate_dml.sh 13 Feb 2008 18:39:17 -0000 1.16 *************** *** 84,87 **** --- 84,96 ---- fi status "completed generate_sync_event() test" + + pint="1 second" + dellogs="true" + $pgbindir/psql -h $host -p $port -d $db -U $user -c "select \"_${CLUSTER1}\".cleanupEvent('${pint}'::interval,'${dellogs}'::boolean);" 1> $mktmp/cleanupevent.log.1 2> $mktmp/cleanupevent.log + rc=$? + if [ $rc -ne 0 ]; then + warn 3 "cleanupEvent() failed - rc=${rc} see $mktmp/cleanupevent.log* for details" + fi + status "completed cleanupEevent(${pint},${dellogs}) test" status "done" }
- Previous message: [Slony1-commit] slony1-engine/redhat postgresql-slony1.specfile
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list