Tue Feb 6 08:00:43 PST 2007
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/tests/test1 generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/test1
In directory main:/tmp/cvs-serv3897/test1
Modified Files:
Tag: REL_1_1_STABLE
generate_dml.sh
Log Message:
Add a test for "generate_sync_event()" function to test1
Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/generate_dml.sh,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -C2 -d -r1.4.2.3 -r1.4.2.4
*** generate_dml.sh 27 Oct 2006 14:41:25 -0000 1.4.2.3
--- generate_dml.sh 6 Feb 2007 16:00:41 -0000 1.4.2.4
***************
*** 71,74 ****
--- 71,81 ----
warn 3 "do_initdata failed, see $mktmp/initdata.log for details"
fi
+ status "data load complete"
+
+ $pgbindir/psql -h $host -p $port -d $db -U $user -c "select \"_${CLUSTER1}\".generate_sync_event('1 second'::interval);" 1> $mktmp/gensync.log.1 2> $mktmp/gensync.log
+ rc=$?
+ if [ $rc -ne 0 ]; then
+ warn 3 "generate_sync_event() failed - rc=${rc} see $mktmp/gensync.log* for details"
+ fi
status "done"
}
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/tests/test1 generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list