Commit Graph

1179 Commits

Author SHA1 Message Date
Joe DeVivo
74f0c93675 Merge pull request #120 from basho/jd-die-die-die
Added a more... assertive way of taking down a node.
2012-12-11 09:20:49 -08:00
Joe DeVivo
6a8ecb5232 Merge pull request #119 from basho/jd-python-version
Bumped python client version to 1.5-stable, for fuzzy versioning.
2012-12-11 08:54:34 -08:00
Joe DeVivo
a43031b716 python_test: changed syntax of git checkout for branch vs tag 2012-12-11 09:23:01 -07:00
Joe DeVivo
dfd5bc8a3b Added Service to assertion in partition_repair, so we can tell if it fails on search or kv 2012-12-11 08:57:07 -07:00
Joe DeVivo
f458eade38 Converted a timer:sleep to a rt:wait_until in partition_repair 2012-12-11 08:55:08 -07:00
Joe DeVivo
29a4d3e6fb Bumped python client version to 1.5-stable, for fuzzy versioning. 2012-12-11 06:49:46 -07:00
engelsanchez
5df5519953 Merge pull request #46 from basho/eas-backup-restore-test
port be-systest-backup-and-restore
2012-12-10 12:57:22 -08:00
Engel A. Sanchez
643d063b0a Better rt/rtdev separation in backup/restore
Operations that assume a local node are moved to rtdev, and those that
do not stay in rt.
Also, using PB client instead of internal where possible.
2012-12-10 11:46:41 -05:00
Engel A. Sanchez
2baf7a0761 Add backup restore test
This is a port of systest-backup-and-restore from basho_expect with some
changes and additions. Biggest change was not using search-cmd to index
data for search, as it does not seem to update docs, just indexes. Then
added restore on a clean cluster. Basically it does this:

* Writes data, including a search enabled bucket
* Verifies written data, including searches
* Runs backup
* Deletes, modifies some data
* Verifies mods and deletes took
* Runs restore
* Verifies deleted data is back, mods stay (last write wins)
* Stops cluster and wipes out all data dirs
* Verifies clean cluster
* Runs restore
* Verifies data was restored, including searches

Also, adding some more noise to some riak test setup functions. This was
useful when initially debugging the test before it worked the first
time.
2012-12-10 09:02:06 -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
Jared Morrow
d379b2258e Add riak getpid test to basic_command_line
This test functionality added to address PID issues found
on FreeBSD using riak_test.

The issue was addressed in basho/riak#251
2012-12-05 10:40:41 -07:00
Joe DeVivo
027a33f109 Merge pull request #48 from basho/jd-loaded-upgrades-day-of-reckoning
port be-systest-rolling-upgrade
2012-12-05 06:16:37 -08:00
Andrew Thompson
5084123b0f Avoid occasional failure 2012-12-04 17:07:37 -05:00
Joe DeVivo
f7ed2c0e2e loaded_upgrade: changed rem 1000 to rem 20 to actually output messages 2012-12-04 14:55:02 -07:00
Joe DeVivo
81d6f89f6a Cleanup los processos 2012-12-04 14:47:32 -07:00
Joe DeVivo
95475cda0d Added list_keys to loaded_upgrade 2012-12-04 12:02:28 -07:00
Jared Morrow
47368d30f4 Remove unneeded comment from python test 2012-12-04 10:52:55 -07:00
Jared Morrow
f55c9aad56 Don't check for scratch directory anymore 2012-12-04 10:48:21 -07:00
Jared Morrow
725b8871ce Cleanup from previous python test runs 2012-12-04 09:54:35 -07:00
engelsanchez
c8c5226aea Merge pull request #112 from basho/eas-fix-riak-core-155-meck-refactor
Fix after meck refactoring
2012-12-04 08:16:09 -08:00
Engel A. Sanchez
0d1fbec563 Minor style tweaks to meck refactor fix
From feedback on the original pull request.
2012-12-04 10:36:58 -05:00
Sean Cribbs
a2fce7eb2f Death to imports! 2012-12-04 09:24:30 -06:00
Engel A. Sanchez
009fa92bf1 Fix after meck refactoring
Plus, fixing a timing issue when restarting node.  Sometimes we issued
the gets while the old node was still going down.
2012-12-04 10:19:24 -05:00
Sean Cribbs
29d4b1d787 Fix 'undefined' bug in partition_repair when finding the data dir. 2012-12-04 09:18:19 -06:00
Sean Cribbs
11885dafde Fix import warnings. 2012-12-04 09:15:37 -06:00
Andrew Thompson
c923cac9fa Fix replication SSL test, broke because of expired certificates 2012-12-04 00:13:21 -05:00
Jared Morrow
41b47dc5d7 Merge pull request #109 from basho/jem-riaknostic-test-fix
Fix riaknostic test for Riak that includes riaknostic
2012-12-03 14:48:46 -08:00
Jared Morrow
1acaed71db Fix typo found in review 2012-12-03 15:31:57 -07:00
Andrew Thompson
5d38f1484f Wait for ring convergance after changing configs, cleanups 2012-12-03 17:26:42 -05:00
Jordan West
2de1d4984f Merge pull request #103 from basho/rt39-verify-busy-dist
Port regression_az1018.py
2012-12-03 13:49:17 -08:00
Jared Morrow
9c9749fb9a Fix riaknostic test for Riak that includes riaknostic
In Riak 1.3.0 riaknostic was included by default.  These
tests assumed riaknostic was *not* installed and would
fail on 1.3+ nodes.  This change fixes that and refactors
the test to be a little more readable.
2012-12-03 14:13:55 -07:00
Joe DeVivo
d06b760cb3 wait_for_owners_according_to 2012-12-03 07:46:03 -07:00
Jordan West
b11db0d74e verify_busy_dist_port: remove use of grep via os:cmd, timer:sleep
* install a riak_sysmon custom handler and monitor for the busy_dist_port event on the riak node. when the handler detects the event it notifies the test process
* install riak_test_lager_backend on the riak node to capture log messages in memory. When the test process is notified that the busy dist port event fired on the riak node it retrieves the logs from the backend using the added get_logs/0 function and then checks for the busy_dist_port message
* there is a subtle race I *think*, that should rarely come up in practice, between lager and the riak_sysmon event handlers with this method of implementing the test that may require use of some form of retry/max retry still
2012-11-30 17:08:29 -08:00
Jordan West
cb2b49df92 riak_test takes care of this for us 2012-11-29 13:17:02 -08:00
Jordan West
1de1245774 apparently i like whitespace :( 2012-11-29 13:00:34 -08:00
Jordan West
34d2d53290 add text from original agile zen ticket to test 2012-11-29 12:59:36 -08:00
Jordan West
2c3ca7327f if we are going to sleep, at least do it (maybe) better
* check the grep logs a max number of times, sleep for some interval in-between each execution of grep
* actually delete the log file
* handle file d.n.e. when using grep (hackily)
2012-11-29 11:46:32 -08:00
Jordan West
e32f29a0d6 initial port of be-regression-az1018 2012-11-29 10:59:27 -08:00
Joe DeVivo
07084cf7af Merge pull request #102 from basho/jd-stop-hammer-time
rt:stop/1 now uses straight rpc.
2012-11-29 10:18:12 -08:00
Joe DeVivo
d32b29d161 rt:stop/1 now uses straight rpc. 2012-11-29 11:07:34 -07:00
Sean Cribbs
e4fa8ccc20 Add additional wait_for_service calls after restarting nodes. 2012-11-29 10:26:10 -05:00
Joe DeVivo
73dd9bf081 added rt:assert_nodes_agree_about_ownership/1, and there was much rejoicing 2012-11-29 07:12:44 -07:00
Joe DeVivo
41a7a72e1a Added wait_for_service to verify_build_cluster 2012-11-28 15:40:52 -07:00
Joe DeVivo
e5d5ab42f7 added data to the verify_build_cluster test 2012-11-28 14:55:23 -07:00
Joe DeVivo
a1183dcc78 Enhanced verify_build_cluster test.
Added verification of ring at every cluster change.
Added cluster steps to mirror the old cluster_membership b_e test.
2012-11-28 14:55:23 -07:00
Sean Cribbs
6eb1012965 Merge pull request #36 from basho/sdc-prepost-hooks
port be-systest-prepost-hooks
2012-11-27 10:45:01 -08:00
Sean Cribbs
c45472736a Make the postcommit hook send an Erlang message to the test process and check that it receives it. 2012-11-27 13:26:35 -05:00
Sean Cribbs
e9fe10bbd5 Merge pull request #41 from basho/sdc-python-client-tests
port be-systest-python-unit-tests
2012-11-27 09:59:40 -08:00
Sean Cribbs
4a4a667824 Add more verbose lager messages to the prereq. 2012-11-27 12:50:13 -05:00
Sean Cribbs
13ee1bb0e9 Use virtualenv to prevent installation of packages in protected dirs. 2012-11-27 11:23:26 -05:00
Sean Cribbs
6a39537e06 Add license header to hooks.erl. 2012-11-26 15:34:05 -05:00
Sean Cribbs
44301e8516 Port be-systest-prepost-hooks. 2012-11-26 15:32:36 -05:00
engelsanchez
1ce5baaec5 Merge pull request #96 from basho/fix-wait-for-service-only-for-node
Fix wait for service and use in listkeys
2012-11-26 07:22:51 -08:00
Ryan Zezeski
1fe9624978 Don't call lager in remote functions
It is not safe to compile code, that calls lager, with Riak Test and
then run that code on the remote nodes.  Depending on the version the
remote node will have a different lager version.  If the API has
changed between versions then the calls will fail and leave a
non-obvious error message for the test runner to decipher.  This is
exactly what happened to me recently as the upcoming 1.3 release is
following lager master but Riak Test is using lager 1.2.1.  There is
an api change between those two causing the info call to fail.

https://github.com/basho/lager/compare/1.2.1...d6482649#L5L54
2012-11-26 09:58:26 -05:00
Engel A. Sanchez
3bfabcbc0a Fixing spacing issue 2012-11-21 16:21:26 -05:00
Engel A. Sanchez
042fd80713 Fix wait for service and use in listkeys 2012-11-21 16:11:17 -05:00
engelsanchez
79fada8b65 Merge pull request #88 from basho/remove-legacy-listkeys-test
Removing tests for legacy listkeys
Was plus one'd by Sean, merging
2012-11-20 12:32:49 -08:00
Sean Cribbs
13a982ac69 Merge pull request #95 from basho/sdc-fix-build-cluster
Wait for services when deploying nodes.
2012-11-20 10:06:55 -08:00
Sean Cribbs
362d5725e2 Wait for the specified services (or riak_kv by default) when deploying nodes. 2012-11-20 11:59:37 -05:00
engelsanchez
8706348b85 Merge pull request #92 from basho/fix-ruby-div-by-ten-always-passes
Fix multiple of ten failures = pass
2012-11-20 07:50:14 -08:00
Sean Cribbs
331706ace7 Relax Ruby version restriction in the test. 2012-11-20 09:33:19 -05:00
Engel A. Sanchez
4e698348b0 Fix multiple of ten failures = pass
Also, adding dump file name to gitignore
2012-11-19 12:07:33 -05:00
Sean Cribbs
5858682ae1 Add Python client tests. 2012-11-18 18:08:48 -05:00
Dave Parfitt
6c797eee64 repl bnw tests 2012-11-16 14:49:28 -05:00
Engel A. Sanchez
e524fd8299 Also remove legacy list buckets test 2012-11-16 11:43:55 -05:00
Sean Cribbs
aacf69a1a2 Merge pull request #89 from basho/sdc-fix-cli
Refactor basic_command_line test.
2012-11-16 08:31:55 -08:00
Joe DeVivo
946015e9ec Updated verify_capabilities 2012-11-16 09:26:23 -07:00
Joe DeVivo
a68d9e2e47 Removed comment from basic_command_line questioning the validity of the
test. It's super valid!
2012-11-16 08:02:38 -07:00
Sean Cribbs
538c559ac7 Refactor basic_command_line test.
* Try to do as much as possible while the node is up/down, without
  changing its state. Rapidly starting and stopping the node has
  strange effects.
* We should consider removing the restart functionality from the
  `riak` script, as it leaves things in undetermined states.
2012-11-15 20:03:55 -05:00
Engel A. Sanchez
b41fa549a0 Removing tests for legacy listkeys 2012-11-15 15:48:51 -05:00
Joe DeVivo
fb1b679749 Moved loaded_upgrade to use TestMetaData for version 2012-11-15 12:46:18 -07:00
Joe DeVivo
30d795f4a5 Added a little timer action to verify_basic_upgrade to make it deterministic 2012-11-15 12:33:00 -07:00
Joe DeVivo
80568b3bd5 Rewrite of verify_basic_upgrade 2012-11-15 11:54:50 -07:00
Joe DeVivo
b2bbff230f removed upgrade test 2012-11-14 12:25:29 -07:00
Joe DeVivo
4a065825ee Updated partition repair test to use new riak_test features 2012-11-14 12:23:45 -07:00
Joe DeVivo
ad272a72be added support of legacy and previous as verision atoms supported by riak_test 2012-11-14 11:04:42 -07:00
Jordan West
0d85e90264 Merge branch 'gh-riak-core-197-reset-bprops' 2012-11-13 14:55:01 -08:00
Joe DeVivo
0e4f2c8504 Removed outdated comments 2012-11-13 11:48:50 -07:00
Joe DeVivo
d0c2ba93ef Refactored metatdata process message into riak_test_runner 2012-11-13 08:28:12 -07:00
Joe DeVivo
fc9ec57327 Changes suggested by Pull Request #86 2012-11-12 10:53:56 -07:00
Joe DeVivo
cdedfd4c05 Tests can now ask the test runner for the test metadata 2012-11-09 15:54:58 -07:00
Joe DeVivo
1ddd0e82c7 test_cluster test, which really just builds a cluster and leaves it running... great for developing tests 2012-11-09 15:54:58 -07:00
Joe DeVivo
5f6fd5bf31 Added 2i to loaded upgrade test 2012-11-09 15:54:58 -07:00
Joe DeVivo
f3e0420a63 Fixed mapred_verify test escript/priv issues 2012-11-09 15:54:58 -07:00
Joe DeVivo
2b40fb54b7 Added warning about ?assertCmd 2012-11-09 15:54:58 -07:00
Joe DeVivo
9483baa621 Enhancements to loaded upgrade. less dependent on ENV vars 2012-11-09 15:54:58 -07:00
Sean Cribbs
544938225a Fix the bundler invocation so it works in a more isolated fashion. 2012-11-09 14:20:18 -08:00
Joe DeVivo
d558dde90b Ruby Tests: changed format string to plain old string 2012-11-09 08:38:25 -07:00
Joe DeVivo
843e34c459 ruby test: used filename:join/1 where applicable 2012-11-08 13:35:49 -07:00
Joe DeVivo
9f1ea49dd4 Added multi_json gem to ruby client test 2012-11-08 08:05:37 -07:00
Joe DeVivo
28c0e56376 Moved java urls to default config 2012-11-08 08:05:37 -07:00
Joe DeVivo
591d3f4752 Created a riak_test scratch dir for downloading clients 2012-11-08 08:05:37 -07:00
Joe DeVivo
6a0729c64a Ruby Client test working with hard-coded locally built ruby-client gem 2012-11-08 08:05:37 -07:00
Jordan West
8663a082ee reset bucket properties test
depends on 945019b129
2012-10-31 23:34:55 -07:00
Sean Cribbs
1be804ecce obj5 is deleted earlier in the test and cannot be used in the range. 2012-10-25 15:08:31 -04:00
Sean Cribbs
e92ee3c27b Add test for basho/riak_kv#367, range regression on memory backend. 2012-10-25 15:08:31 -04:00
Joe DeVivo
373f54760a Removed commented code from java client test 2012-10-18 12:22:56 -07:00
Joe DeVivo
439830a8f9 Enhancements for java client test determinism 2012-10-18 12:14:29 -07:00
Joe DeVivo
43fc0a4dff Updated java client tests to use rt:stream_cmd/1, so JUnit looks like it's doing something 2012-10-18 06:56:35 -07:00
Joe DeVivo
bee2d761a9 Working execution of java client tests 2012-10-18 06:56:35 -07:00
Jared Morrow
4b07292c69 Fix basic_command_line test to allow for different pipe paths
The `basic_command_line` test would start the `riak attach` test
by searching for the string `erlang.pipe.1` on the first line.
In some cases you will use `erlang.pipe.X` where X is an increasing
integer.  This change simply removes that requirement from the
top of the test and checks for the proceeding string instead.
2012-10-18 07:28:31 -06:00
Joe DeVivo
5ee99bbbab Added source headers 2012-10-10 15:14:06 -07:00
Jared Morrow
e1d8c2d063 Merge remote-tracking branch 'origin/gh35-riak-command-line'
Conflicts:
	src/rt.erl
	tests/basic_command_line.erl
2012-10-02 15:26:29 -06:00
Jared Morrow
92c11f382e Merge branch 'master' into gh35-riak-command-line 2012-10-02 14:48:26 -06:00
Jared Morrow
d44b4f2ce9 Add a more interesting test to riak console 2012-10-02 12:41:46 -06:00
Jared Morrow
461a3df115 Adjust command-line test to be more test-y of riak attach 2012-10-02 12:00:38 -06:00
Russell Brown
2b7508dee7 Add test for riak_dt counter convergence in the face of partitions
Add partion/1 and heal/1 functions to rt.erl
2012-10-02 17:34:54 +01:00
Dave Parfitt
6b0a14b953 Merge pull request #68 from basho/dip_fix_core_154
Fix node startup in gh_riak_core_154
2012-09-27 11:45:21 -07:00
Dave Parfitt
19f0d140e8 add longer sleep + lager msg 2012-09-27 14:31:21 -04:00
Joe DeVivo
617e9090ab Merge pull request #65 from basho/jd-listkeys
Port b_e systest-listkeys
2012-09-27 11:05:27 -07:00
Dave Parfitt
aa36626e09 wait for nodes to start 2012-09-27 13:01:46 -04:00
Joe DeVivo
8b12621c70 Added attach and console testing via ports (rough draft) 2012-09-26 16:37:11 -07:00
Joe DeVivo
7b76ed844f Added support for backends on the command line 2012-09-26 14:08:26 -07:00
Joe DeVivo
15e33bb23f DRYer thanks to more feedback in Pull Request #65 2012-09-26 06:36:03 -07:00
Joe DeVivo
d0885ada5a Changes based on comments in Pull Request #65 2012-09-25 13:51:36 -07:00
Joe DeVivo
839dbd2d4a Now even less code, thanks lists:foldl 2012-09-25 12:47:58 -07:00
Joe DeVivo
6297bd6acd Removed some repitition from verify_listkeys, more to come 2012-09-25 12:32:08 -07:00
Jared Morrow
88f643cc95 Add basic command line tool testing
Attempt to replicate the b_e command line test
https://github.com/basho/basho_expect/blob/master/basho_expect/systest_riak_command_line.py
2012-09-25 12:59:26 -06:00
Joe DeVivo
24fba02463 First draft of test, works but could be less repeaty 2012-09-25 10:56:09 -07:00
Joe DeVivo
316b394d3d Changed commend to reflect new default for SPAM_DIR 2012-09-24 13:08:25 -07:00
Joe DeVivo
eb824a8d42 New search results as per Issue #29 2012-09-24 13:05:59 -07:00
Joe DeVivo
debe9154ec API Changed from riakc 1.2.1 to 1.3.0 2012-09-14 10:53:39 -07:00
Joe DeVivo
3c43ed65dc Full port of b_e 2i test 2012-09-13 08:32:34 -07:00
Joe DeVivo
993dd74dd8 rpc_output test now a lager backend for testing 2012-09-12 10:03:55 -07:00
Joe DeVivo
00693399c3 Removed a lot of useless code and tuples, because this is a simpler case than eunit 2012-09-12 10:03:54 -07:00
Joe DeVivo
afea5866d4 group_leader io redirect working, but ugly 2012-09-12 10:03:54 -07:00
Joe DeVivo
0d4b15611e Merge pull request #51 from basho/jd-riak_stats_test
Port of the basho_expect riak_stats test
2012-09-12 09:47:08 -07:00
Joe DeVivo
974b97d49f ?MAGIC_NUMBER. Is it possible to troll with a commit? 2012-09-12 08:47:57 -07:00
Joe DeVivo
3dc9530795 Ported riak_lager tests from basho_expect 2012-09-11 15:12:04 -07:00
Joe DeVivo
9790812d57 Removed irrelevant comments 2012-09-11 07:18:50 -07:00
Joe DeVivo
953142aeb6 Final riak_stats test, ready for review 2012-09-10 18:43:57 -07:00
Joe DeVivo
b73a6008be Fully functional port of b_e riak_stats test 2012-09-10 17:35:17 -07:00
Joe DeVivo
1c26ca11e8 Initial pass at riak_stats test 2012-09-10 16:56:07 -07:00
Joe DeVivo
47c168fbf3 After rebasing, convert riaknostic_rt to use confirm/0 2012-09-07 16:49:36 -07:00
Joe DeVivo
e22ade5596 Changed to use string:str/2 as per @jtuple's suggestion 2012-09-07 16:47:36 -07:00
Joe DeVivo
4fa7044650 Switched from Regex to substring matching 2012-09-07 16:47:36 -07:00
Joe DeVivo
c6a8605a1f First pass at adding pattern matching to riak_test 2012-09-07 16:47:36 -07:00
Sean Cribbs
1cf7c76c6f Port riaknostic test from basho_expect.
We don't have command-output matching yet, so this could appear to pass and yet still fail in some way.
2012-09-07 16:46:12 -07:00
Joe DeVivo
ef62d699c1 Moved @todo to move specific location 2012-08-30 15:52:36 -04:00
Joe DeVivo
e5dc87ad57 Added @todo for partition_repair, doesn't currently work when using rtdev-mixed 2012-08-30 15:51:46 -04:00
Joe DeVivo
2657884301 Added edoc to loaded_upgrade test for additional setup 2012-08-30 15:51:46 -04:00
Joe DeVivo
eddb01bbfb Changed test API from Module:Module/0 to Module:confirm/0 2012-08-30 15:51:46 -04:00
Joe DeVivo
75b94dfa4c Initial work on standardizing test results 2012-08-30 15:47:12 -04:00
Bryan Fink
b10ebbba81 use build_cluster instead of each step explicitly
As suggested by Joe: https://github.com/basho/riak_test/pull/7#issuecomment-7602584
2012-08-09 09:38:07 -04:00
Joseph Blomstedt
c91d90dabe Add rt:slow_upgrade for leave/upgrade/join approach 2012-08-08 18:48:40 -07:00
Joseph Blomstedt
8d3d29af2f Add rt:upgrade and update mixed-version/upgrade tests
Change uses of rtdev:upgrade to the new rt:upgrade
Update tests to use Riak 1.1.4 not 1.1.2
2012-08-08 18:44:30 -07:00
Joseph Blomstedt
372841a8e9 Merge pull request #12 from basho/rz-search-rolling-upgrade
Add search to loaded_upgrade
2012-08-08 18:30:47 -07:00
Joseph Blomstedt
9c6a44c326 Merge pull request #13 from basho/jdb-capabilities2 2012-08-08 18:13:16 -07:00
Joseph Blomstedt
10456236b7 Fix search tester in loaded_upgrade
Use a synchronous command to populate the search buckets, rather than
an asynchronous command. Otherwise, there is a data race between data
being rewritten and search queries being performed.

Change the search verify script to have the proper solr path, otherwise
the script always fails because it queries the wrong index.

Modify the search tester to allow search failures while the cluster has
mixed versions. There is currently a known bug in Riak that causes search
queries to potentially fail against a mixed cluster. The test now only
requires the tester to succeed after all nodes have been upgraded.
2012-08-08 17:51:33 -07:00
Bryan Fink
c17c9a7625 Merge branch 'bwf-mapred_verify' 2012-08-08 11:18:55 -04:00
Joseph Blomstedt
4a5c382181 Add rolling_capabilities test, update verify_capabilities test 2012-08-02 21:52:56 -07:00
Ryan Zezeski
c18755e445 Add Search to loaded_upgrade
Verify Search works during a rolling upgrade.
2012-07-29 15:07:09 -04:00
Joseph Blomstedt
9a53db693a Add loaded_upgrade test
Add loaded_upgrade test that spawns k/v and map/reduce testers that run
concurrently as cluster nodes are upgraded. Each tester is spawned before
upgrading a node, and then verified after the upgrade. If the test fails,
the test is then re-run until it passes (or timeout) in order to distinguish
between transient failure and permanent data loss failures.

Current k/v and map/reduce testers use basho_bench.
2012-07-25 10:24:15 -07:00
Joseph Blomstedt
d5b7381d82 Merge branch 'jdb-fix-mixed-cluster'
As part of merge, modified verify_basic_upgrade test to use new
deploy_nodes API
2012-07-19 19:53:48 -07:00
Joseph Blomstedt
d6aded2c0a Merge branch 'jdb-staged-clustering'
Conflicts:
	src/rt.erl
2012-07-19 19:48:02 -07:00
Joseph Blomstedt
d6327e080f Merge branch 'jdb-handoff-ip' 2012-07-19 15:48:24 -07:00
Joseph Blomstedt
4062ff7881 Merge branch 'jdb-capabilities'
Merging involved changing `deploy_nodes` and `build_cluster` to
support both mixed-version deployment as well as supplying
initial app.config overrides.

Updated all tests from both side of the merge to support new API

Conflicts:
	src/rt.erl
	src/rtdev.erl
2012-07-19 15:38:34 -07:00
Bryan Fink
ae317532f6 run mapred_verify via mapred_verify_rt tests
- pulls in mapred_verify as a rebar dep
 - adds "deps" to rtdev in order to get mapred_verify on the path
2012-07-16 12:14:44 -04:00
Joseph Blomstedt
2f7963e0ab Add test to verify basic mixed-cluster operations
The test verifies that joining mixed-versions of nodes works in either
direction (old version to new, or new to old) as well as verifies that
handoff works in mixed version clusters.

The motivation for this test was a noted regression in mixed-version
handoff when joining a Riak 1.2 node to an older node (joining in the
opposite direction worked fine).

Related bug fix: basho/riak_core#203
2012-06-28 14:02:10 -07:00
Ryan Zezeski
a537f9366b Allow tweaking of num nodes and handoff concurrency
Also added code, commented out, to kill one of the src vnodes during
handoff to verify that the handoff sender process is killed with it.
2012-06-07 22:59:04 -04:00
Joseph Blomstedt
f4776c06d9 Add test for staged cluster administration
See basho/riak_core#177 and basho/riak_core#181
2012-05-25 00:14:42 -07:00
Joseph Blomstedt
5c4e53225d Add test for user-configurable handoff_ip
Related issue: basho/riak_core#176
2012-05-22 14:12:59 -07:00
Ryan Zezeski
3659520ded Moved search repair API into vnode 2012-05-16 22:51:22 -04:00
Ryan Zezeski
b25d5459dc Allow bitcask or level KV backend 2012-05-16 22:51:14 -04:00
Ryan Zezeski
e8db14093a Allow testing of KV for repair 2012-05-16 22:51:02 -04:00
Ryan Zezeski
04ebd5f97f Verify that src partition is not deleted after repair 2012-05-16 22:50:52 -04:00
Ryan Zezeski
63da48ca7e Change timer & small fixes 2012-05-16 22:50:44 -04:00
Ryan Zezeski
5e31fe5ce9 Add some more logging and add upper bound to wait 2012-05-16 22:50:31 -04:00
Ryan Zezeski
4d02c01acb Add some stuff to repair test
1. Allow config of ring size

2. Set config before building cluster

3. Wait for repair
2012-05-16 22:49:46 -04:00
Ryan Zezeski
8a433b1c2e Add partition_repair test 2012-05-16 22:43:20 -04:00
Joseph Blomstedt
d05cd84944 Add mixed-cluster config + helper script + upgrade test 2012-04-27 17:11:39 -07:00
Joseph Blomstedt
7f6f9eb55a Add mixed-cluster support + upgrading, add verify_capabilities test 2012-04-27 16:50:31 -07:00
Joseph Blomstedt
1e06fc7bd5 Add test for issue basho/riak_core#154 2012-04-05 02:05:39 -07:00
Joseph Blomstedt
2a89366e12 Add test for issue basho/riak_core#155 2012-04-02 13:59:26 -07:00
Joseph Blomstedt
a6aec227cd Initial release 2012-01-10 17:21:39 -07:00