Commit Graph

1029 Commits

Author SHA1 Message Date
Dave Parfitt
1489436b83 added ssl to each proxy_get test 2013-06-07 15:58:03 -04:00
Kelly McLaughlin
4155901d6a RiakCS devrel test harness
Add a test harness module for RiakCS testing. This allows RiakCS tests
to properly shutdown its application nodes and better accommodate
differences from normal Riak testing.
2013-06-07 12:31:22 -06:00
Engel Sanchez
a3a763cc3d Merge pull request #293 from basho/jrw-rt-lager-backend-update
update riak_test_lager_backend for new msg tuple
2013-06-07 09:24:54 -07:00
Brett Hazen
f730fa65be Update tests for Riak 1.4.0 2013-06-07 10:33:01 -05:00
Micah Warren
0b7b2764fa Added wait to avoid upgrade test race condition.
The tests would error out due to noproc to riak_core_cluster_manager. Add
a wait until that process is registered on each node in the context setup.
This could also have manifested in a write not getting everywhere in the
first generated test case, but not the rest.
2013-06-06 11:54:19 -05:00
Russell Brown
011aa71510 Merge pull request #266 from basho/pt29-2i-pagination
Tests 2 pagination / streaming / term returning
2013-06-05 14:48:04 -07:00
Engel A. Sanchez
cb75af39ab Add wait until really deleted function
I was having test failures due to the delete operation timing out
silently. This was due to dependencies not update by rebar in the end.
But in any case, this new function is more robust in detecting when
tombstones are really reaped instead of a sleep call.
Also, matching delete operation so it's noisy when it fails.
2013-06-05 17:24:59 -04:00
Micah Warren
24bc71c296 Made timeouts config based. 2013-06-05 11:52:09 -05:00
Micah Warren
0ad7705073 Fixed mixed cluster test race condition.
Letting cluster settle before attempting to push data. Also fixed some
whitespace.
2013-06-05 11:45:54 -05:00
Micah Warren
4fe8f5ab08 Made is_leader and is_not_leader log messages useful. 2013-06-05 11:44:56 -05:00
Russell Brown
2fb33a54c5 Merge pull request #281 from basho/rdb-kv-counters
Verify that counters converge to a single value
2013-06-05 04:16:03 -07:00
Russell Brown
8370d2ead7 Fix sometime failure fetching counter after partition
Depending on which partitions returned an answer first, fetching
a counter after the partition may return 'not_found'. Since we
expect there to at least one value on each side of the partition
get the counter with r=1 and notfound_ok=false so that the get fsm
will always wait for the vnode with data to answer.
2013-06-05 09:14:00 +01:00
Andrew Thompson
a45555ae15 Make sure nodes are ready before trying to join them 2013-06-04 17:13:56 -04:00
Chris Tilt
6ba8017915 Merge pull request #289 from basho/cet-aae-refactor
Cet aae refactor
2013-06-04 14:08:24 -07:00
Sean Cribbs
b2834e57ce Remove output formatter from rspec command in client_ruby_verify. 2013-06-04 15:50:10 -05:00
Andrew Thompson
8b29a9a36e Add better logging to repl_ssl, improve test somewhat 2013-06-04 14:03:42 -04:00
Andrew Thompson
a24c091f27 Fix wait_for_connection to tolerate badrpc 2013-06-04 14:03:24 -04:00
Andrew Thompson
f9972d8e11 Update expired cacert.org certificates 2013-06-04 14:03:09 -04:00
Chris Tilt
677a2f17b2 Reduce keycount to something reasonable for a riak_test 2013-06-04 08:04:36 -07:00
Jordan West
8c377bb852 update riak_test_lager_backend for new msg tuple 2013-06-03 23:44:49 -07:00
Andrew Thompson
10d8ea7646 Make sure we wait for riak_repl service after reconfiguring nodes 2013-06-03 17:38:13 -04:00
Sean Cribbs
b630f5b52e install_on_absence moved to the rt_local module.
Also, use the progress formatter for less-verbose output.
2013-06-03 08:20:41 -05:00
Chris Tilt
915c9e5cfc Test for differing n_val for AAE fullsync should now pass. 2013-05-31 16:11:39 -07:00
Micah
8252a3d6b1 Merge pull request #287 from basho/mw-re-enabled-rt-cascading-tests
Re-enabled many of the rt-cascading tests
2013-05-31 11:52:06 -07:00
Russell Brown
0c22dd1943 Wait for cluster to converge after updating bucket properties. 2013-05-31 10:40:41 +01:00
Chris Tilt
41381b9399 Updated documentation; this test is expected to fail. 2013-05-30 15:22:05 -07:00
Chris Tilt
d3aa516791 Refactor common AAE test code and add custom N test.
* Common code in the cluster setup and data setup is factored out into a utility module.
* AAE fullsync test and benchmark get skinnier and call the common setup code.
* Document parameters in the setup for tests.
* Add a new AAE fullsync test that changes the N value (source is 2, sink is 3).
2013-05-30 14:02:10 -07:00
Chris Tilt
ecc0f84c9d Merge pull request #288 from basho/cet-aae-fixup
Fix calls to updated rt module.
2013-05-30 11:51:51 -07:00
Chris Tilt
d985f6453e Fix calls to updated rt module. 2013-05-30 10:30:20 -07:00
Russell Brown
77a01cb169 Add repl test for counter convergence 2013-05-30 17:52:59 +01:00
Jordan West
df75db3a00 Merge pull request #274 from basho/jrw-dynamic-ring
Ring Resizing Test
2013-05-29 21:42:41 -07:00
Jordan West
0283d59fa6 maor wait_until_* for verify_dynamic_ring 2013-05-29 19:03:05 -07:00
Micah Warren
b96eeb3ef4 Re-enabled many of the rt-cascading tests
Many of the tests were not running due to not following eunit conventions.
This fixes that. The initial change was likely done during a debugging and
never reverted.
2013-05-29 16:45:54 -05:00
Jordan West
0f1ef71b68 aae no longer needs to be off in verify_dynamic_ring test 2013-05-29 12:15:21 -07:00
Jordan West
55c17390a5 ring resizing test 2013-05-29 12:15:21 -07:00
Evan Vigil-McClanahan
bb545fc29c Merge pull request #263 from basho/pevm-stream-timeouts
test for bucket and key listing timeouts
2013-05-24 14:33:45 -07:00
Ryan Zezeski
9f160e60ad Wait for 'cluster plan' to succeed (verify_staged_clustering)
While running the `verify_staged_clustering` test on my local
workstation I hit a race when force replacing dev3 with dev2.  The
call to 'cluster plan' was happening before the ring had converged and
thus failing, but the test assumed the first call always succeeds.

This patch simply mimicks what a user might do and retry the 'cluster
plan' command over and over until it succeeds.
2013-05-24 12:47:02 -04:00
Jordan West
91eac707c8 Merge pull request #284 from basho/jrw-objformat-updates
update verify_riak_object_reformat to use app.config var
2013-05-23 15:05:03 -07:00
Jordan West
ec7d4b79e8 update verify_riak_object_reformat to use app.config var 2013-05-23 14:39:28 -07:00
Russell Brown
98d68580f3 Add test for dropped duplicate key after continuation bug 2013-05-23 10:35:56 +01:00
Jordan West
00b70c6e77 Merge pull request #283 from basho/jrw-2i-reformat-updates
secondary_index_reformat: test riak_kv_status:fixed_index_status/0
2013-05-22 18:43:42 -07:00
Jesse Williamson
8e0e7c4a30 Merge pull request #233 from basho/jfw-vclock_capability
Tests for riak_kv vclock capability
2013-05-22 16:07:50 -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
Jordan West
84be9eef92 secondary_index_reformat: test riak_kv_status:fixed_index_status/0 2013-05-22 12:54:03 -07:00
Chris Tilt
69ef5babff Remove debug cruft. 2013-05-22 11:47:19 -07:00
Dave Parfitt
db43e5520b Merge pull request #261 from basho/mw-cascading-rt
RT for cascading real-time
2013-05-21 16:30:55 -07:00
Micah Warren
5965a41571 upgrade test now passes consitently. 2013-05-21 16:56:51 -05:00
Dave Parfitt
f92fe9af77 Merge pull request #273 from basho/dip_pg14_mf
proxy_get tests, also add riak-test -t m:f syntax
2013-05-16 12:18:58 -07:00
Dave Parfitt
bc3bf4fc0b removed extra ring_convergence waits 2013-05-16 15:17:58 -04:00
Dave Parfitt
e37893eea4 add ?assertEquals around wait_for_pg() calls 2013-05-16 15:11:39 -04:00