Commit Graph

1468 Commits

Author SHA1 Message Date
Christopher Meiklejohn
a6c983229e Ignore tags file. 2014-02-24 10:26:55 -05:00
Christopher Meiklejohn
106401bad5 Run both keylist and aae.
Run, test, and time both the aae and keylist strategy of fullsync
replication.
2014-02-20 15:21:13 -05:00
Christopher Meiklejohn
377fe57ae9 Add functions for advanced.config manipulation.
Add functions to assist in manipulation of the advanced.config file
directly, which is required for repl which can not be configured with
Cuttlefish, when enabled.
2014-02-20 14:59:07 -05:00
Christopher Meiklejohn
92880a35ca Limit concurrency; disable allow_mult.
Limit the concurrency to one partition at a time, and ensure we do not
generate siblings when rewriting the smaller portion of the keyspace.
2014-02-20 14:58:22 -05:00
Christopher Meiklejohn
b5da7e4291 Further the fullsync test. 2014-02-20 03:54:38 +00:00
Christopher Meiklejohn
44d4424e41 WIP: Add first pass replication test for EC2. 2014-02-19 22:11:02 +00:00
Christopher Meiklejohn
1347ac91c1 Remove harness specific code.
Remove some harness specific code which isn't even really that
valuable at this point.
2014-02-19 22:10:32 +00:00
Christopher Meiklejohn
8e6b043d84 Add functions to directly manipulate advanced.config.
Even if most of the system is running under cuttlefish, replication
may not be, and may require configuration placed directly in the
advanced.config file.  Add a method to the rtssh harness to provide
direct manipulation of that file.
2014-02-19 21:47:44 +00:00
Christopher Meiklejohn
3330116b61 Ensure nodes are started and pingable. 2014-02-13 18:08:04 -05:00
Joseph Blomstedt
37232a3a61 Fix eleveldb typo in rt-cluster 2014-02-11 00:08:16 -08:00
Joseph Blomstedt
8dbaccf86d Better defend against plan/commit race 2014-02-10 23:52:04 -08:00
Joseph Blomstedt
eef9ab38ff Make rt-cluster support multiple clusters/repl 2014-02-07 01:24:55 -08:00
Joseph Blomstedt
89bf056aab Remove all basho_bench/collector/proxy code (for now) 2014-02-07 00:10:26 -08:00
Joseph Blomstedt
6f22e2f1f9 Add additional delay to remote_read_file to combat race 2014-02-07 00:09:52 -08:00
Joseph Blomstedt
a5d6872670 Numerous rtssh harness improvements
-- Update to work in post-Cuttlefish world
-- Support upgrade/downgrades
-- Support cluster groups (as used by rtcloud)
-- Create missing SNMP directories
-- Add utils/rt-cluster escript for cluster provisioning
2014-02-06 23:42:52 -08:00
Joseph Blomstedt
a93bf29d2d Add missing config defaults 2014-02-03 23:42:11 -08:00
Joseph Blomstedt
a53516b29c Merge branch jdb-rtssh.wip into master
Conflicts:
	rebar.config
	src/riak_test.erl
	src/riak_test_escript.erl
	src/rt.erl
2014-02-03 20:11:17 -08:00
Joseph Blomstedt
6974ec4a56 Move riak_test to riak_test_escript to match master 2014-02-03 19:27:52 -08:00
Joseph Blomstedt
ca7dd246ce Commit various local changes 2014-02-03 18:38:03 -08:00
Jordan West
ee71f56c6e Merge pull request #529 from basho/jrw-cmb-improvements
improve cluster_meta_basic
2014-02-02 16:13:05 -08:00
Jordan West
a9100158a3 improve cluster_meta_basic
cluster_meta_basic has been intermittently failing [1]. This commit
includes two improvements, the second of which addreses this
intermittent failure.

The first change modifies the test to "wait_until_object_count"
instead of reading the object count at a given moment and getting a
possibly stale, or soon to be updated, value. This alone does not
cause the to pass reliably. However, it highlights that the
underlying race condition is one where the object count will never
reach the expected value.

The second change modifies the test to avoid the race, which was
caused by resolving on two different nodes concurrently, each of which
in turn wrote and broadcasted the resolved result. If an interleaving,
such that both writes are allowed to succeeed before one node is
notified of the modification on the other, occurs so does the
failure. The test has been changed to only perform the write/broadcast
on a single node ensuring that we eventually converge the the expected
value and object count.

[1]
http://giddyup.basho.com/#/projects/riak_ee/scorecards/73/73-1556-cluster_meta_basic-centos-6-64/35530/artifacts/532185
2014-01-31 17:28:22 -08:00
Christopher Meiklejohn
56a8efab16 Merge pull request #524 from basho/bugfix/csm/deadlocks
Add test detecting source deadlock.
2014-01-27 09:07:31 -08:00
Christopher Meiklejohn
9597d1e8d5 Merge pull request #520 from basho/bugfix/csm/ebloom
Add test to ensure modified objects replicate.
2014-01-27 08:58:14 -08:00
Andrew Thompson
074c73e8d9 Update test to enable security the 'new' way 2014-01-27 09:56:57 -05:00
Christopher Meiklejohn
20b7631000 Merge pull request #522 from basho/bugfix/csm/intercepts
Use correct intercepts.
2014-01-26 09:20:15 -08:00
Christopher Meiklejohn
dcd2135d5d Use correct intercepts.
Correct a typo which was causing the module to attempt to use intercepts
which do not exist.
2014-01-26 12:15:05 -05:00
Ryan Zezeski
9155120b00 Merge pull request #461 from basho/dp_completion
add bash/zsh completion for test names
2014-01-25 17:09:24 -08:00
Ryan Zezeski
62a6b8ecf7 Merge pull request #325 from basho/klm-skip-test-option
Add option to allow tests in a directory to be explicitly skipped
2014-01-25 16:53:57 -08:00
rzezeski
ea8cbc2418 Merge remote-tracking branch 'origin/master' into klm-skip-test-option
Conflicts:
	src/riak_test_escript.erl

Conflict was a simple whitespace issue.
2014-01-26 00:33:40 +00:00
Christopher Meiklejohn
8cbddf3552 Add test detecting source deadlock.
Add test which ensures that the AAE source worker doesn't deadlock when
waiting for responses from the process which is computing the hashtree
differences.

Unfortunately, this test uses timeouts because as the code currently
stands, I can't figure out a way to make it any cleaner.
2014-01-25 14:20:03 -05:00
Christopher Meiklejohn
70826fd605 Add test to ensure modified objects replicate.
Ensure that objects, when modified, actually replicate correctly to the
sink cluster.
2014-01-25 02:58:29 -05:00
Dave Parfitt
06739aa86f Merge pull request #512 from basho/feature/dp/riak_admin_console_tests
Add riak_test to exercise riak-admin shell script
2014-01-24 13:44:17 -08:00
Andrew Thompson
17d89f6f48 Merge pull request #518 from basho/adt-test-timeouts
Implement optional maximum test times
2014-01-24 12:36:08 -08:00
Andrew Thompson
7ecda007be Update sample config 2014-01-24 15:42:34 -05:00
Andrew Thompson
3353ca5268 Implement optional maximum test times 2014-01-24 14:23:59 -05:00
Christopher Meiklejohn
9c823e321e Merge pull request #517 from basho/bugfix/csm/verify_api_timeouts
Fix verify_api_timeouts.
2014-01-24 10:19:50 -08:00
Christopher Meiklejohn
af343ee6f6 Fix verify_api_timeouts.
Fix verify_api_timeouts by taking siblings into account.
2014-01-24 13:14:35 -05:00
Jared Morrow
24619c638b Merge pull request #513 from basho/bugfix/sdc/allow-mult-default
Fix tests that used the wrong name for the riak.conf entry for allow_mult
2014-01-24 09:54:17 -08:00
Sean Cribbs
398b993c58 Merge pull request #516 from basho/bugfix/sdc/cuttlefish-conf
Fix renamed setting for cuttlefish_configuration test.
2014-01-23 12:55:20 -08:00
Sean Cribbs
74851c6fc9 Fix renamed setting for cuttlefish_configuration test. 2014-01-23 14:15:37 -06:00
Andrew Thompson
7800e2f08d Merge pull request #515 from basho/adt-smoke-tester
Add a simple 'smoke test' tool to run eunit/dialyzer on riak source trees
2014-01-22 10:20:26 -08:00
Andrew Thompson
69af7f86b2 Use the riak_test config file, it has everything we need 2014-01-22 12:54:33 -05:00
Andrew Thompson
1ec8bda21c Add a simple 'smoke test' tool to run eunit/dialyzer on riak source trees 2014-01-22 12:21:22 -05:00
Christopher Meiklejohn
d983476f59 Merge pull request #514 from basho/bugfix/csm/overlapping-replication2
Fix overlapping key ranges in replication test.
2014-01-21 17:30:42 -08:00
Christopher Meiklejohn
ba45350da3 Fix overlapping key ranges in replication test.
Fix overlapping key ranges which cause sibling generation because of
puts with no vclock.  Add additional checking to assert this is true.
2014-01-21 20:22:17 -05:00
Christopher Meiklejohn
cf515c14ea Add missing replication2_connection test from the 1.4 branch. 2014-01-21 00:17:34 -05:00
Sean Cribbs
59976f25f0 Fix typo true -> false 2014-01-19 12:00:21 -06:00
Sean Cribbs
34b2d3723c Fix tests that used the wrong name for the riak.conf entry for allow_mult. 2014-01-19 11:47:50 -06:00
Dave Parfitt
084442c597 copyrights 2014-01-17 18:28:06 -05:00
Dave Parfitt
44cb011808 add shell tests for riak-admin 2014-01-17 18:21:36 -05:00