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