Commit Graph

3420 Commits

Author SHA1 Message Date
Joe DeVivo
d0e0085819 Addressed comments from Pull Request #17 2012-08-21 10:53:27 -07:00
Joe DeVivo
aac0a5771d Updated build-releases to use 1.2.0 proper 2012-08-21 10:32:25 -07:00
Joe DeVivo
0037922bf2 chmod +x bin/rtdev-current.sh 2012-08-21 10:15:09 -07:00
Joe DeVivo
8e1ae71d96 Moved rtdev*.sh to bin/. 2012-08-21 10:14:21 -07:00
Joe DeVivo
f93942e0d4 Updated rebar and rebar.config 2012-08-20 15:24:20 -07:00
Joe DeVivo
4a1a23ca4a Added actual code to rt_clean 2012-08-20 08:30:57 -07:00
Joe DeVivo
be2237f158 Added rebar plugin for the cleaning, compilation, and execution of riak_tests 2012-08-20 08:05:43 -07:00
Joe DeVivo
de95dc0e7d Merge pull request #16 from basho/jnd-deps
Bumped Lager to 1.2.0
2012-08-16 13:26:59 -07:00
Joe DeVivo
fcc8a8b0c2 Bumped Lager to 1.2.0 2012-08-16 13:07:01 -07:00
Joe DeVivo
3f78b484d2 Merge pull request #15 from basho/jnd-deps
Added the capacity for a ~/.riak_test.config file
2012-08-15 13:53:25 -07:00
Joe DeVivo
5cd79f6bb2 Added the capacity for a ~/.riak_test.config file 2012-08-15 12:48:50 -07:00
Joe DeVivo
0aef4b6c79 Added README 2012-08-15 10:27:32 -07: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
1e1656735e Merge branch 'jdb-upgrade-changes' 2012-08-08 18:50:08 -07: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
Joseph Blomstedt
cdfcf3bdea Merge branch 'jdb-rz-fix-ee'
Merge fix to support Riak EE from the 'rz-repl-test' branch

Conflicts:
	src/rtdev.erl
2012-08-01 11:37:01 -07:00
Joseph Blomstedt
e21c4c940b Merge pull request #10 from basho/adt-deploy-wait-for-stop 2012-08-01 11:17:24 -07:00
Ryan Zezeski
f86020259c Add exec permission 2012-07-29 15:09:59 -04:00
Ryan Zezeski
be932b3100 Prompt before using kerl, add RC URLs
I don't use kerl and don't want it on my machine.  Added the latest
1.2.0 RC URLs.
2012-07-29 15:08:14 -04: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
34a22a086b Merge branch 'jdb-loaded-upgrade' 2012-07-25 10:28:49 -07: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
Andrew Thompson
edc0807f9c Make deploy_nodes wait for any previously running nodes to stop 2012-07-24 22:44:30 -04:00
Andrew Thompson
91ca66f61e Merge pull request #9 from basho/adt-kerl-build-releases
Use kerl to build releases, if needed
2012-07-23 21:38:34 -07:00
Andrew Thompson
ac4d1d8774 Add support for building EE releases with the -ee flag
This requires you have s3cmd configured to give you access
2012-07-23 21:50:14 -04:00
Andrew Thompson
e1ab3f3ae0 Use kerl, if needed, to build historical releases 2012-07-23 21:35:38 -04:00
Joseph Blomstedt
2170489c73 Another change to rtdev-build-releases.sh 2012-07-23 15:46:55 -07:00
Joseph Blomstedt
b964f7b349 Update rtdev-build-releases.sh 2012-07-23 15:45:08 -07:00
Joseph Blomstedt
2088c8c09f Add helper scripts for mixed-version devrel 2012-07-23 15:39:43 -07:00
Joseph Blomstedt
ba5100ef97 Merge branch 'jdb-rtdev-cmd' 2012-07-20 10:52:47 -07:00
Joseph Blomstedt
69d9a7eb59 Add ability to run external cmds to rtdev harness
Add ability to spawn external cmds in either sync or async mode to
rtdev harness.
  -- Async: rtdev:spawn_cmd/1 to launch, rtdev:wait_for_cmd/1 for results
  -- Sync: rtdev:cmd/1 to launch + wait for results
  -- Results are returned as {Status, Result} providing command exit status
     and output from stdout
2012-07-20 10:48:08 -07:00
Joseph Blomstedt
cd6fca6c3b Update rtdev-setup.sh to work with recent path changes 2012-07-19 20:15:53 -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
3b1f3ad5c4 Merge branch 'rz-partition-repair' 2012-06-21 12:34:40 -04: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
Joseph Blomstedt
8b9a874391 Fix typo in rtdev.erl 2012-05-21 09:46:07 -07:00
Ryan Zezeski
3659520ded Moved search repair API into vnode 2012-05-16 22:51:22 -04:00