Fri Feb 11 12:32:29 PST 2011
- Previous message: [Slony1-commit] Slony-I-commit Bug #195 - make slon_quote_* functions immutable
- Next message: [Slony1-commit] Slony-I-commit Fixed problem with sets that contain no tables (empty or
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Adding test suites based on the clustertest-framework. clustertest-framework is a testing framework developed for testing slony that can be found at https://github.com/clustertest/clustertest-framework/ This commit adds two test suites: clustertest/regression - is a port of the shell script based regression tests from the slony1-engine/tests directory. clustertest/disorder - is a new set of tests for testing slony in the context of a simulated order entry system. The tests are based on version 1.0.0 of the clustertest-framework. The disorder simulated business transactions were written by Jan Wieck. The scripts that control the transaction flow and slony commands where written by Steve Singer as was the javascript port of the existing regression tests. Chris Browne added documentation, some additional tests, review, testing and logging improvments. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=692fa16b3e5222eb436756c19788fe3238de0bde Modified Files -------------- clustertest/.gitignore | 3 + clustertest/README | 91 + clustertest/conf/.gitignore | 2 + clustertest/conf/disorder.properties.sample | 83 + clustertest/conf/java.conf.sample | 5 + clustertest/conf/log4j.properties | 19 + clustertest/conf/slon.1.conf.sample | 115 ++ clustertest/conf/slon.2.conf.sample | 115 ++ clustertest/conf/slon.3.conf.sample | 115 ++ clustertest/conf/slon.4.conf.sample | 115 ++ clustertest/conf/slon.5.conf.sample | 115 ++ clustertest/conf/slonyregress.sample.properties | 54 + clustertest/disorder/.gitignore | 2 + clustertest/disorder/client/disorder.js | 1025 ++++++++++ clustertest/disorder/client/run_check_load.js | 14 + clustertest/disorder/client/run_fixed_load.js | 27 + clustertest/disorder/sql/disorder-1.sql | 344 ++++ clustertest/disorder/sql/disorder-2.sql | 56 + clustertest/disorder/testlog.log | 11 + .../disorder/tests/AddPathsAfterSubscribe.js | 76 + clustertest/disorder/tests/BasicTest.js | 764 ++++++++ clustertest/disorder/tests/BigBacklog.js | 135 ++ clustertest/disorder/tests/CleanupTest.js | 118 ++ clustertest/disorder/tests/CloneNode.js | 105 + clustertest/disorder/tests/DropPath.js | 117 ++ clustertest/disorder/tests/DropSet.js | 84 + clustertest/disorder/tests/EmptySet.js | 99 + clustertest/disorder/tests/ExecuteScript.js | 510 +++++ clustertest/disorder/tests/FailNodeTest.js | 354 ++++ clustertest/disorder/tests/Failover.js | 344 ++++ clustertest/disorder/tests/HeavyLoadTest.js | 136 ++ clustertest/disorder/tests/InitialCopyFail.js | 165 ++ clustertest/disorder/tests/LogShipping.js | 115 ++ clustertest/disorder/tests/LongTransaction.js | 130 ++ clustertest/disorder/tests/MoveSet.js | 107 + clustertest/disorder/tests/MultipleOrigins.js | 98 + clustertest/disorder/tests/OmitCopy.js | 163 ++ clustertest/disorder/tests/RecreateSet.js | 118 ++ clustertest/disorder/tests/RenameTests.js | 128 ++ clustertest/disorder/tests/RestartTest.js | 158 ++ clustertest/disorder/tests/SlonKilling.js | 85 + clustertest/disorder/tests/SubscribeUnderLoad.js | 96 + clustertest/disorder/tests/Unsubscribe.js | 116 ++ .../disorder/tests/UnsubscribeBeforeEnable.js | 148 ++ clustertest/disorder/tests/disorder_tests.js | 64 + clustertest/regression/common_tests.js | 226 +++ clustertest/regression/test1/README | 38 + clustertest/regression/test1/init_data.sql | 9 + clustertest/regression/test1/init_schema.sql | 49 + clustertest/regression/test1/test1.js | 113 ++ clustertest/regression/testdatestyles/README | 15 + .../regression/testdatestyles/init_data.sql | 20 + .../regression/testdatestyles/init_schema.sql | 12 + .../regression/testdatestyles/testdatestyles.js | 133 ++ clustertest/regression/testddl/README | 14 + clustertest/regression/testddl/bad_ddl.sql | 2 + .../regression/testddl/ddl_update_part2.sql | 7 + clustertest/regression/testddl/ddl_updates.sql | 10 + clustertest/regression/testddl/init_data.sql | 4 + clustertest/regression/testddl/init_schema.sql | 52 + clustertest/regression/testddl/testddl.js | 135 ++ clustertest/regression/testdeadlockddl/README | 5 + .../testdeadlockddl/ddl_update_part2.sql | 5 + .../regression/testdeadlockddl/ddl_updates.sql | 9 + .../regression/testdeadlockddl/init_data.sql | 3 + .../regression/testdeadlockddl/init_schema.sql | 52 + .../regression/testdeadlockddl/testdeadlockddl.js | 151 ++ clustertest/regression/testinherit/README | 41 + clustertest/regression/testinherit/init_data.sql | 49 + clustertest/regression/testinherit/init_schema.sql | 88 + clustertest/regression/testinherit/testinherit.js | 154 ++ clustertest/regression/testlargetuples/README | 18 + .../regression/testlargetuples/init_data.sql | 3 + .../regression/testlargetuples/init_schema.sql | 5 + .../regression/testlargetuples/testlargetuples.js | 124 ++ clustertest/regression/testmergeset/README | 16 + clustertest/regression/testmergeset/init_data.sql | 49 + .../regression/testmergeset/init_schema.sql | 55 + .../regression/testmergeset/testmergeset.js | 150 ++ clustertest/regression/testmultipaths/README | 24 + .../regression/testmultipaths/init_data.sql | 9 + .../regression/testmultipaths/init_schema.sql | 32 + .../regression/testmultipaths/testmultipaths.js | 118 ++ clustertest/regression/testmultiplemoves/README | 12 + .../regression/testmultiplemoves/init_data.sql | 11 + .../regression/testmultiplemoves/init_schema.sql | 6 + .../testmultiplemoves/testmultiplemoves.js | 134 ++ clustertest/regression/testomitcopy/README | 21 + clustertest/regression/testomitcopy/init_data.sql | 9 + .../regression/testomitcopy/init_schema.sql | 49 + .../regression/testomitcopy/testomitcopy.js | 121 ++ clustertest/regression/testschemanames/README | 8 + .../regression/testschemanames/init_data.sql | 5 + .../regression/testschemanames/init_schema.sql | 43 + .../regression/testschemanames/testschemanames.js | 119 ++ clustertest/regression/testseqnames/README | 8 + .../regression/testseqnames/init_add_tables.ik | 2009 +++++++++++++++++++ clustertest/regression/testseqnames/init_data.sql | 4 + .../regression/testseqnames/init_schema.sql | 2030 ++++++++++++++++++++ .../regression/testseqnames/testseqnames.js | 123 ++ clustertest/regression/testtabnames/README | 4 + .../regression/testtabnames/init_add_tables.ik | 10 + clustertest/regression/testtabnames/init_data.sql | 4 + .../regression/testtabnames/init_schema.sql | 43 + .../regression/testtabnames/testtabnames.js | 108 ++ clustertest/regression/testutf8/README | 9 + clustertest/regression/testutf8/init_data.sql | 4 + clustertest/regression/testutf8/init_schema.sql | 31 + clustertest/regression/testutf8/testutf8.js | 111 ++ clustertest/run_all_disorder_tests.sh | 34 + clustertest/run_all_regression_tests.sh | 22 + doc/adminguide/testbed.sgml | 307 +++- 112 files changed, 14231 insertions(+), 11 deletions(-)
- Previous message: [Slony1-commit] Slony-I-commit Bug #195 - make slon_quote_* functions immutable
- Next message: [Slony1-commit] Slony-I-commit Fixed problem with sets that contain no tables (empty or
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list