summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | tests: eliminate a floating point exception by requiring -n option to ctdb_benchMichael Adam2010-05-111-0/+5
|/ | | | | | Michael (This used to be ctdb commit 07823e1fe75c588b75f4e42c80b0a7bc974238f7)
* Merge branch 'trans3'Ronnie Sahlberg2009-12-151-0/+3
|\ | | | | | | (This used to be ctdb commit b765e12a5fb87a6121e49b349017b6a961929346)
| * tests: temporarily disable the transaction test tool.Michael Adam2009-12-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | Make it return success for make test. This is temporarily disabled until the rewrite of the transaction code (in samba and the daemon) using the global lock feature has been ported to the ctdb client code. Michael (This used to be ctdb commit 78ca29352aa39f4ef4e41096b92d55cb2e0d348a)
* | add a new test tool that just locks and releases the same record over and overRonnie Sahlberg2009-12-151-0/+140
| | | | | | | | (This used to be ctdb commit 24767be2eb9aed29704c2a4097bab5466cb6728f)
* | ctdb_fetch requires the number of nodes being specified.Ronnie Sahlberg2009-12-151-0/+5
|/ | | | | | Have it log an error and terminate if thie parameter was omitted (This used to be ctdb commit 340be0179f55acfff77f8c3c8be958679227bde1)
* tests: remove the no_trans mode from ctdb_transaction.Michael Adam2009-12-091-58/+34
| | | | | | | | | Writes without transaction are not possible any more on persistent databases. Michael (This used to be ctdb commit 59f46d7261dfdbdef900bf95dd9eb28ad22a46b2)
* tests:ctdb_transaction: print an extra counters when a commit failsMichael Adam2009-12-041-0/+1
| | | | | | Michael (This used to be ctdb commit 4113385865f53a57b18ea752a7dad8a08bed588e)
* tests: turn printfs into DEBUG statements in the ctdb_transaction testMichael Adam2009-12-041-18/+18
| | | | | | Michael (This used to be ctdb commit 0e130d79ab71cf3aa65c40af91866823246a0283)
* Revert "dont exit on a commit failure"Michael Adam2009-10-301-1/+1
| | | | | | | | | | | This reverts commit 4e9a3a5dc232bac12ab387ea0cf4f1b279bed5c1. Transaction commit should not be allowed to fail. This is a real error. Michael (This used to be ctdb commit 825c506da76d7afd0714b75b8c8727874183a618)
* dont exit on a commit failureRonnie Sahlberg2009-10-011-1/+1
| | | | (This used to be ctdb commit 4e9a3a5dc232bac12ab387ea0cf4f1b279bed5c1)
* Revert "Revert "allow the transaction commit to fail""Ronnie Sahlberg2009-10-011-1/+1
| | | | | | This reverts commit 74e416108df6934f45ca646d709785dd76ab3c35. (This used to be ctdb commit d1d370033d5007ad1c2c34cd9eeac53001f4b13e)
* Revert "dont check if commit failed, we do allow the commit to fail sometimes"Michael Adam2009-09-211-1/+1
| | | | | | | | | | | This reverts commit affa6f47432507e84b7e76b88a2c27fff8e6e2e4. Transaction commit should not be allowed to fail. This is a fatal error. Michael (This used to be ctdb commit 4364419a486c1995bea56dab603cc4960e7c8e7a)
* Revert "allow the transaction commit to fail"Michael Adam2009-09-211-1/+1
| | | | | | | | | | | This reverts commit 7a6134e684c9ac4763bf198ef1410867b6082c94. Transaction commit should not be allowed to fail. This is a fatal error. Michael (This used to be ctdb commit 74e416108df6934f45ca646d709785dd76ab3c35)
* Revert "try to restart statd everytime it fails, not just the first time"Ronnie Sahlberg2009-09-152-8/+19
| | | | | | This reverts commit 4f7b39a4871af28df1c4545ec37db179fa47a7da. (This used to be ctdb commit db7b96304e4725f29b12398b7582e385daed63ed)
* try to restart statd everytime it fails, not just the first timeRonnie Sahlberg2009-09-152-19/+8
| | | | (This used to be ctdb commit 4f7b39a4871af28df1c4545ec37db179fa47a7da)
* allow the transaction commit to failRonnie Sahlberg2009-09-091-1/+1
| | | | (This used to be ctdb commit 7a6134e684c9ac4763bf198ef1410867b6082c94)
* Merge commit 'martins/master'Ronnie Sahlberg2009-09-091-7/+18
|\ | | | | | | (This used to be ctdb commit 12e14a09dd28ed005c8eb8fca7cd38a96aab938e)
| * Test suite: ctdb_persistent.c needs to use transactions.Martin Schwenke2009-08-141-7/+18
| | | | | | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 49de8429d2a996dc055370541a12ea36762abe94)
* | dont check if commit failed, we do allow the commit to fail sometimesRonnie Sahlberg2009-09-091-1/+1
|/ | | | (This used to be ctdb commit affa6f47432507e84b7e76b88a2c27fff8e6e2e4)
* From Michael Adam:Ronnie Sahlberg2009-07-291-34/+95
| | | | | | Update the transaction test tool to the new api for transactions (This used to be ctdb commit 4d9a53f142deba6ab578af2fc35bfa99c29c3a99)
* Whitespace changes and using the CTDB_NO_MEMORY() macro changes toRonnie Sahlberg2009-05-211-1/+1
| | | | | | the previous patch. (This used to be ctdb commit d623ea7c04daa6349b42d50862843c9f86115488)
* add missing checks on so far ignored return valuesSumit Bose2009-05-211-1/+9
| | | | | | Most of these were found during a review by Jim Meyering <meyering@redhat.com> (This used to be ctdb commit 3aee5ee1deb4a19be3bd3a4ce3abbe09de763344)
* In 51_ctdb_bench.sh now allows a 2% difference between positive andMartin Schwenke2009-05-121-1/+1
| | | | | | | | | negative. ctdb_bench.c checks to ensure the timer has advanced from 0 before dividing. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 723413f246399b25166462d2018237920515655f)
* Avoid floating point divide by 0 in ctdb_fetch.c's bench_fetch().Martin Schwenke2009-05-121-1/+1
| | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 3c67e164eb92591f8763883430490805c1dfa9ed)
* Use ctdb_fetch_lock rather than ctdb_call.Martin Schwenke2009-05-121-26/+9
| | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5f3d2e29a446972ac244e20a08e48f4c2f4ffef4)
* Bug fixes for ctdb_bench from Ronnie.Martin Schwenke2008-12-181-33/+52
| | | | (This used to be ctdb commit 2c055831f0d56e42d055e1d72fb6f0db5f71def1)
* Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.Martin Schwenke2008-11-219-0/+1871
Move setting of $CTDB_NODES_SOCKETS to tests/scripts/run_tests and make it only happen if $CTDB_TEST_REAL_CLUSTER is not set. Bugfix in function ips_are_on_nodeglob. New/proper implementations of functions stop_daemons and start_daemons, now called by function restart_ctdb. In start_daemons.sh, add public addresses file generation/usage, use new option --nopublicipcheck to ctdbd to avoid crazy behaviour and kill ctdbd more carefully to avoid killing real daemons on a real cluster - this should be able to coexist on a node of a real cluster. start_daemons.sh is temporarily incompatible with start_daemons function, but expecting to replace that script with function calls very soon anyway... Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 4c54772c5c2fa7d2a25963379b5b96caf0c2521c)