Commit Graph

255 Commits

Author SHA1 Message Date
Bryan Fink
b6a6066d65 use rt:systest_write instead of listcomp of riakc_pb_socket:put
Yay for using builtin utilities instead of hand-rolled hacks.
2013-02-02 08:54:57 -05:00
Bryan Fink
c8efe95dac reproduction test for basho/riak_kv#475 (MR reduce with node down)
This test is based off one submitted by Alexander Gunin to the
riak-users mailing list as an issue reproducer.
[http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-January/010896.html]
2013-02-01 15:47:42 -05:00
Andrew Thompson
77547c9d88 Don't test for leader election on 1.2.1 or earlier, fix version checking
Also, make some RPC calls more resiliant
2013-01-31 14:49:14 -05:00
Andrew Thompson
96916e97d4 Wait for connection to re-establish after leader election 2013-01-30 14:54:17 -05:00
Chris Tilt
30dd520065 Fix broken calls to make_cluster 2013-01-30 11:20:43 -08:00
Chris Tilt
24d49cd7e8 Add some debugging for replication test 2013-01-30 11:20:43 -08:00
Chris Tilt
109d464c76 Fix my refactor error and add some debug 2013-01-30 11:20:43 -08:00
Andrew Thompson
c705247f29 Wait for del_site to disconnect the clusters before continuing 2013-01-30 13:44:33 -05:00
Engel A. Sanchez
eb6c3eba15 Fix insufficient vnodes in verify_listkeys
Fixes issue #149, related to basho/riak_core#228
If queried right after it has joined the cluster, a node may not have
the other nodes registered by the node watcher yet. Switching to waiting
until all nodes in the cluster have been registered by the node watcher
before performing query.
Also, querying for all nodes after stopping/starting just in case,
although I haven't seen problems there, but sound reasonable.
Removing assert from the call to wait_until_no_pending_changes since it
is already asserting internally.
2013-01-30 10:48:13 -05:00
Sean Cribbs
02d7bd0ec3 Log actual search results when hitting the badfun issue. 2013-01-28 10:43:41 -06:00
Sean Cribbs
a730d5d9ca Merge pull request #183 from basho/sdc-crash-after-upgrade
Monitor nodes after they upgrade
2013-01-25 13:35:11 -08:00
Dave Parfitt
be3febffdc rebase w/ @buddhistheads latest repl refactor 2013-01-25 14:51:56 -05:00
Sean Cribbs
a469d3b24c Monitor nodes after they upgrade in loaded_upgrade to detect unexpected crashes. 2013-01-25 13:41:58 -06:00
Dave Parfitt
850ca62ff8 keep writing data to repl until node marked dirty 2013-01-25 14:29:37 -05:00
Dave Parfitt
9f34d23e53 Merge pull request #182 from basho/cet-repl2-refactor
Moved common repl2 functions to repl_util and added log_to_nodes tracing...
2013-01-25 11:27:21 -08: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
Joe DeVivo
64424d6817 [KNOWN ISSUE] Joe's log messages should be clearer 2013-01-25 10:33:20 -07:00
Joe DeVivo
1a93a7d2d0 Added check for mixed cluster during search check 2013-01-25 09:40:23 -07:00
Sean Cribbs
4b48a7df5c Merge pull request #179 from basho/cet-replication-fixes
Started refactor and added cluster-wide logging from tests.
2013-01-25 06:40:37 -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
engelsanchez
84626aaaf0 Merge pull request #175 from basho/eas-listkeys-binary-timeout-error
Listing keys still times out
2013-01-24 07:22:16 -08:00
Engel A. Sanchez
c765bb9a74 Detect timeout code {error, <<"timeout">>}
Saw this unhandled timeout error code here:
http://giddyup.basho.com/#/projects/riak/scorecards/9/9-291/3340
This should fix issue #175
2013-01-24 10:13:58 -05: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
65255fa860 typo in replication_upgrade 2013-01-23 16:26:54 -05:00
Dave Parfitt
9e56bf7fd3 repl test cleanup 2013-01-23 14:48:21 -05:00
Sean Cribbs
23cc362b94 Merge pull request #163 from basho/bs-snmp-verify
Add SNMP test
2013-01-23 09:39:33 -08:00
Sean Cribbs
d5ea92d2ff Simplify the SNMP test to reduce number of RPCs we do in each iteration. 2013-01-23 09:37:27 -06:00
Joe DeVivo
5b60832dea Merge pull request #166 from basho/jd-jmx-gonn-getcha
A riak_test for JMX
2013-01-22 14:50:09 -08:00
Joe DeVivo
eb62db3595 Added JMX testing for riak_ee 2013-01-22 12:26:17 -07:00
Joe DeVivo
730b39113c Refactored download/1 out of client_verify_java 2013-01-22 12:25:56 -07:00
Sean Cribbs
0c4dd17886 Use wait_until instead of random sleeps to compare stats. 2013-01-22 12:51:41 -06:00
Sean Cribbs
a89cd096ff Fix indentation and syntax error. 2013-01-22 12:27:18 -06:00
bsparrow435
d7b4824542 Verfi snmp yo 2013-01-22 12:27:18 -06:00
Engel A. Sanchez
40a4289ce5 Link PB client to check listkeys process
As pointed out by Sean Cribbs, it's kind of weird to have it linked to
the main process like it is now.
2013-01-22 11:16:09 -05:00
Engel A. Sanchez
f1e32b57b2 Retry on listkeys timeout
loaded upgrade has a tendency to fail on listkeys time out, which should
not make the fail test. Made the PB client have the auto_reconnect flag
set and added functions to retry reconnecting (as it doesn't happen
instantaneously) and retry the list keys a few times with exponentially
bigger time outs.
2013-01-21 17:57:38 -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
Sean Cribbs
cf1a580957 CentOS 5 might have Python 2.4, so we need to be sure we print the version. 2013-01-21 10:43:48 -06:00
engelsanchez
54d8216568 Merge pull request #148 from basho/eas-remove-verify-basic-upgrade-timeout
verify_basic_upgrade failures
2013-01-11 11:46:51 -08:00
Engel A. Sanchez
e9505503a2 Removing timeouts from test 2013-01-11 14:18:54 -05:00
Engel A. Sanchez
599d6a2368 Replace timeout with wait for riak_kv service 2013-01-10 17:57:30 -05:00
Jordan West
66d9c1027f Merge pull request #138 from basho/jrw-verify-health-check
riak_kv health check test
2013-01-09 10:36:02 -08:00
Joe DeVivo
1ee93e7e5e Rolling_Capabilities no long tied to 1.1.4 2013-01-08 11:41:55 -07:00
Dave Parfitt
eb86635a86 Merge pull request #141 from basho/dip_rt_errors
Tests for BNW rt_dirty flag
2013-01-08 04:29:37 -08:00
Joe DeVivo
123356600e Added legacy detection to verify_capabilities 2013-01-07 12:49:31 -07:00
Dave Parfitt
a27c5bdec7 added 2 more tests for rt_dirty
- brutal_kill while rt is running. This sets rt_dirty
- make sure rt_dirty is set after restart
2013-01-07 12:13:57 -05:00
Engel A. Sanchez
351467b5b2 Fix race in verify_capabilities
We wait until rings are ready, but the capability server is notified
asynchronously through riak_core_ring_events:ring_update and we were
sometimes querying the capability too soon. Now uses wait/retry logic.
Also, removing sleep timers from cap server restart. Now using
wait/retry also to detect a new cap server process.
2013-01-04 11:55:55 -05:00
Dave Parfitt
548ddb79a3 Tests for BNW rt_dirty flag 2013-01-03 15:48:11 -05:00