Commit Graph

45 Commits

Author SHA1 Message Date
Jared Morrow
24619c638b Merge pull request #513 from basho/bugfix/sdc/allow-mult-default
Fix tests that used the wrong name for the riak.conf entry for allow_mult
2014-01-24 09:54:17 -08:00
Christopher Meiklejohn
ba45350da3 Fix overlapping key ranges in replication test.
Fix overlapping key ranges which cause sibling generation because of
puts with no vclock.  Add additional checking to assert this is true.
2014-01-21 20:22:17 -05:00
Sean Cribbs
59976f25f0 Fix typo true -> false 2014-01-19 12:00:21 -06:00
Sean Cribbs
34b2d3723c Fix tests that used the wrong name for the riak.conf entry for allow_mult. 2014-01-19 11:47:50 -06:00
Jon Anderson
88fc799bb8 set allow_mult=false on test bucket to prevent crash in mutator; fix rhc errors 2013-11-15 07:47:32 -05:00
Dave Parfitt
f11ed61511 riak_core http setting moved to riak_api
use a generic wrapper to work with multiple versions of Riak
2013-09-26 18:00:10 -04:00
Andrew Thompson
f6d0e7fb6d Verify the partition count is correct only on 1.4 and later
1.3 is buggy, so the check will always fail.
2013-07-03 13:57:33 -04:00
Chris Tilt
571e92d6ed Test for fullsync's successful_exists status item
* After a fullsync, make sure that the numner of successful exists equals the number of partitions, since each partition should have one successful fullsync source process exit.
* We could extend this test to handle the parts of replication2 that have down nodes in the future.
* Added a utility function to get the number of partitions from a node, plus a function to get fullsync status items.
* Test passes with changes from branch cet-successful-exists-fix
2013-06-13 12:57:23 -07:00
Chris Tilt
2415895306 Merge pull request #282 from basho/pdx-aae-fullsync
Riak test for AAE fullsync
2013-05-22 15:28:26 -07:00
Chris Tilt
69ef5babff Remove debug cruft. 2013-05-22 11:47:19 -07:00
Chris Tilt
3fd920efbb clean up some stuff that got hacked while debugging and benchmarking 2013-05-15 20:19:48 -04:00
Joe DeVivo
08ac3fdbed refactored config and local into separate modules 2013-04-26 08:24:58 -07:00
Chris Tilt
1a9bb3d883 AAE fullsync works, plus some new AAE r_t utils 2013-04-19 12:57:58 -07:00
Chris Tilt
65356efec1 Merge branch 'master' into cet-repl2-upgrade-test-194 2013-03-21 10:56:57 -07:00
Chris Tilt
9e0c249da1 Use rt functions for HTTP and restore lager:info for pb connection establishment 2013-03-20 10:31:44 -07:00
Dave Parfitt
823c65a871 use rt:pbc to read the new pb app.config format 2013-03-20 12:52:08 -04:00
Chris Tilt
950db199af Improve Upgrade test for replication2
* Check for node stopped after asking it to stop in the upgrade
* Add better debugging to aid in determining which stage failed
2013-03-15 14:35:33 -07:00
Chris Tilt
ea39ada538 Export replication test entry points to share with new upgrade test 2013-03-15 14:32:23 -07:00
Joe DeVivo
679a5b1bd9 Added some waits in replication2 from @buddhisthead 2013-03-05 14:41:02 -07:00
Andrew Thompson
aa5f97cc92 Merge pull request #216 from basho/adt-wait-for-repl
Wait for repl to actually start before shutting the node down again
2013-02-21 09:55:23 -08:00
Andrew Thompson
bcc5a117d8 Wait for repl to actually start before shutting the node down again 2013-02-21 12:53:25 -05:00
Andrew Thompson
14136b21a3 Use an alphanumeric md5 hash for bucket to avoid angering HTTP 2013-02-21 12:35:57 -05:00
Dave Parfitt
90ba560cc6 Merge pull request #204 from basho/dip_shutdown_dw
change w -> dw for shutdown tests
2013-02-16 12:07:42 -08:00
Andrew Thompson
d7dca09df9 Make sure we exercise the code path when # of keys > diff_batch_size
We do this by lowering diff_batch_size to 10, and then writing 10,000
keys to a 64 vnode ring, thus ensuring that each vnode will have more
than 100 keys.
2013-02-15 14:03:31 -05:00
Dave Parfitt
1a67cb6a89 change w -> dw for shutdown tests
this is @vagabond's patch
2013-02-14 15:53:19 -05:00
Andrew Thompson
5af919b812 Make sure we wait for elections to complete when starting repl tests 2013-02-14 13:40:47 -05:00
Chris Tilt
d80c30025c Remove export all from repl tests; make repl_util API explicit 2013-01-25 10:43:29 -08:00
Chris Tilt
1a61e06634 Moved common repl2 functions to repl_util and added log_to_nodes tracing to replication2_dirty test 2013-01-25 10:12:34 -08:00
Chris Tilt
b0ca6fa2c5 Move log_to_nodes into rt module for general use. 2013-01-24 15:51:33 -08:00
Chris Tilt
a076531785 Started refactor and added cluster-wide logging from tests. 2013-01-24 14:24:16 -08:00
Chris Tilt
cfb7ab29c1 Cleaned up changes per peer review. Replication test passes. 2013-01-23 17:09:27 -08:00
Chris Tilt
11ec2c3380 Added wait for ring to converge after bucket creation for both tests. 2013-01-23 15:55:04 -08:00
Dave Parfitt
9e56bf7fd3 repl test cleanup 2013-01-23 14:48:21 -05:00
Andrew Thompson
c14a337ed0 Merge pull request #128 from basho/adt-repl-bnw-shutdown
Add better 'writes while shutdown' tests for replication
2013-01-21 10:58:26 -08:00
Andrew Thompson
83ed717b42 Use multiple workers to write while shutting down 2012-12-17 16:36:17 -05:00
Engel A. Sanchez
0e8ecce7d5 Add riak_test behavior 2012-12-14 10:50:49 -05:00
Andrew Thompson
a720f2beda Better write during shutdown tests 2012-12-09 00:51:11 -05:00
Andrew Thompson
65056cb12b Hack in support for doing PB/HTTP writes while shutting down 2012-12-08 03:56:39 -05:00
Dave Parfitt
b07c0935ba Merge branch 'dip_bnw_repl' of github.com:/basho/riak_test into dip_bnw_repl 2012-12-05 18:38:44 -05:00
Dave Parfitt
200cf113c7 fixed q migration test 2012-12-05 18:38:18 -05:00
Andrew Thompson
77f7f2d428 Fix wait_for_no_connection for BNW 2012-12-05 14:26:09 -05:00
Andrew Thompson
5084123b0f Avoid occasional failure 2012-12-04 17:07:37 -05:00
Andrew Thompson
c923cac9fa Fix replication SSL test, broke because of expired certificates 2012-12-04 00:13:21 -05:00
Andrew Thompson
5d38f1484f Wait for ring convergance after changing configs, cleanups 2012-12-03 17:26:42 -05:00
Dave Parfitt
6c797eee64 repl bnw tests 2012-11-16 14:49:28 -05:00