Commit Graph

1863 Commits

Author SHA1 Message Date
Sean Cribbs
67dfe49934 Merge pull request #654 from basho/sdc-nitpick-counter-cap
Fix nitpick about new/old API from #653.
2014-08-26 09:16:33 -05:00
Andrew J. Stone
1012e83b9e Merge pull request #679 from basho/bugfix/reduce-node-count
use 8 instead of 9 nodes to satisfy giddyup
2014-08-25 19:08:43 -04:00
Andrew J. Stone
a6cb50cdfc use 8 instead of 9 nodes to satisfy giddyup 2014-08-25 18:56:24 -04:00
Kelly McLaughlin
8aa5c3f33f Merge branch 'feature/sc-overload-testing' 2014-08-25 13:58:27 -06:00
Joseph Blomstedt
02b9915627 Merge pull request #677 from basho/jdb-cuttlefish-ips
Make rtssh set public Cuttlefish IPs for PB/HTTP
2014-08-25 12:37:58 -07:00
Joseph Blomstedt
bb402988ef Make rtssh set public Cuttlefish IPs for PB/HTTP
Something in Riak has changed such that the previous approach to
setting public IPs no longer appears to work for rtssh. Thus, rtssh
users such as rtcloud cannot provision clusters that can talk on
anything other than 127.0.0.1.

This commits add code that explicitly sets the PB/HTTP IPs when
Cuttlefish is being used, which seems to fix the issue.
2014-08-25 11:23:55 -07:00
Kelly McLaughlin
1253c8ad3e More robustification against races between overloading the vnodes and the list_keys attempt for the coverage testing.
Conflicts:
	tests/overload.erl
2014-08-22 15:58:47 -06:00
Andrew J. Stone
c42d2ac055 Merge pull request #666 from basho/ajs/ensemble_byzantine
Add tests for SC byzantine dataloss and tree loss
2014-08-21 23:17:01 -04:00
Andrew J. Stone
0a4429c2b7 Merge pull request #673 from basho/ajs/ensemble-ring-changes
Add ensemble_ring_changes
2014-08-21 23:09:53 -04:00
Jon Anderson
747212678b Merge pull request #676 from basho/bugfix/jra/bug-611
Add repl_bucket_types check that RTQ is drained after bucket type mis-match
2014-08-21 20:52:29 -04:00
Jon Anderson
613bdc29f1 Change rtq drainage check to use dumpq and put it in a function. 2014-08-20 08:07:26 -04:00
Andrew J. Stone
44f562c2d5 add force_replace test to ensemble_ring_changes 2014-08-19 19:22:58 -04:00
Jon Anderson
f36abd590d Add a check to make sure the RTQ queues drain after an unknown bucket
type repl.
2014-08-19 16:36:45 -04:00
Sean Cribbs
cbc844c1ea Merge pull request #675 from basho/crdt-stats-test
Verify that datatype stats are updated.
2014-08-19 06:55:05 -07:00
Sean Cribbs
b8d8e3026b Verify that datatype stats are updated.
See basho/riak_kv#1017
2014-08-18 15:24:20 -07:00
Kelly McLaughlin
53bfb06380 Merge branch 'support/gh666-validate-updated' 2014-08-14 09:19:37 -06:00
Kelly McLaughlin
3577f476e6 Updates to bucket property validation test
* Rename the module from validate_nval_etc to bucket_props_validation
* Employ testing of protocol buffers connections in addition to HTTP
2014-08-13 16:32:34 -06:00
Russell Brown
4e7936da17 Riak 2.0 allow_mult defaults to true 2014-08-13 14:15:25 -06:00
Russell Brown
f100468e11 Test for bad bucket property validation 2014-08-13 14:15:25 -06:00
Andrew J. Stone
07de5cb9c9 Update ensemble_ring_changes w/ node replace test
Additionally fix cluster expansion and make test deterministically pass.
2014-08-13 00:22:02 -04:00
Jordan West
186e6de168 Merge pull request #671 from basho/feature/jrw/external-intercepts
Support Intercept Modules Living Outside This Repository
2014-08-11 11:32:53 -07:00
Andrew J. Stone
cee6cbf4ef Fixup ensemble_ring_changes
* Add some logging
* Ensure updates work before and after ring expansion
2014-08-08 17:38:05 -04:00
Andrew J. Stone
d057999a7b WIP - Add ensemble_ring_changes
Ensemble_ring_changes tests writing a value, expanding the cluster, then
updating and reading that value after ring expansion has completed. It
also creates a bucket using a bucket type with a different n_val from
the default bucket type.  The latter tests basho/riak_kv#1008 and it's
corresponding riak_core PR.
2014-08-05 17:23:42 -04:00
Jordan West
51a5dd6b4b Support Intercept Modules Living Outside This Repository
for use with e.g. yokozuna where the tests live in the project repo.
see README updates for more.
2014-08-04 23:58:12 -07:00
Andrew J. Stone
3bed92cfb4 Use rt functions to safely remove backend data
Use riak_test_runner:metadata/0 to get the configured backend instead of
defaulting to bitcask. Additionally we use rt:clean_data_dir/2 to safely
remove backend directories.
2014-07-29 17:05:50 -04:00
Christopher Meiklejohn
ccc4d403d4 Add yz test for search over maps. 2014-07-29 12:33:16 -04:00
Christopher Meiklejohn
0e156fd56d Enable search. 2014-07-29 12:17:53 -04:00
Christopher Meiklejohn
ab21d0ec32 Allow advanced configuration. 2014-07-29 12:17:34 -04:00
Christopher Meiklejohn
d1b1f9b4a3 Allow nodes to be cleaned. 2014-07-29 12:01:49 -04:00
Christopher Meiklejohn
23282c84a6 Increase the size of the plot. 2014-07-28 15:28:22 -04:00
Christopher Meiklejohn
d65b3b4541 Format adjustments. 2014-07-28 15:27:52 -04:00
Christopher Meiklejohn
3818690d31 Resolve race with plan/commit.
When the plan phase fails, because of a race between adding
nodes to the cluster, don't attempt to commit or it will fail.
2014-07-28 15:27:42 -04:00
Christopher Meiklejohn
cb235be64d Fix typo. 2014-07-28 15:19:28 -04:00
Andrew J. Stone
5319e75269 Add tests for SC byzantine dataloss and tree loss
This is the first iteration of creating byzantine dataloss tests that
show both recoverable and unrecoverable, but detectable errors. This tests the
following scenarios.

 * Lose one partition worth of data, but no synctrees and recover.
 * Lose all but one partition of ensemble data, but no synctrees and
   recover.
 * Lose minority of synctrees. Only the peers with the missing
   synctrees are restarted. System remains available.
 * Loss of majority of synctrees. Majority peers are restarted. System
   recovers when they all come back online.
 * Loss of majority of synctrees with one node partitioned. All peers
   restarted except partitioned one. System does not recover with that
   node partitioned. When the partition is healed the system recovers.
 * Loss of all data and synctree except on one peer recovers.
 * Backing up and restoring old data but not synctrees results in
   detected errors. Restoring newer data fixes this.
 * Delete all data on all nodes, but not synctrees. This is detected and
   an error returned to the user.
2014-07-25 13:58:02 -04:00
Jon Anderson
09a60d1289 add timeouts to calls instead of from .riak_test.config 2014-07-24 14:47:46 -04:00
Jon Anderson
9746731f09 initial commit 2014-07-22 17:08:12 -04:00
Jon Anderson
a597b3ee63 removed sleep 2014-07-22 17:03:16 -04:00
Jon Anderson
0671b59b4c add a intercept/server accounting of get_fsm processes. 2014-07-22 16:48:25 -04:00
Christopher Meiklejohn
e38c5423aa Only run CRDT bench by default. 2014-07-17 14:43:45 -04:00
Christopher Meiklejohn
216a8a273e Add benchmark helper script. 2014-07-17 11:30:00 -04:00
Christopher Meiklejohn
238826d9da Change dimensions of graphic. 2014-07-17 11:30:00 -04:00
Christopher Meiklejohn
9040155139 Add CRDT team-style benchmark. 2014-07-17 11:30:00 -04:00
Christopher Meiklejohn
b6b278fe83 Add additional operations to digest. 2014-07-17 11:30:00 -04:00
Kelly McLaughlin
98681cd658 Increase the test code coverage and make the coverage checking more
robust to failures.
2014-07-15 16:48:43 -06:00
Kelly McLaughlin
6cec9f82e0 Add pbc/2 function to the rt module to allow custom options to be specified 2014-07-15 16:48:36 -06:00
Kelly McLaughlin
ceb24fc3e2 Merge pull request #661 from basho/bugfix/replication-ssl-site-ip-verification
Fix failure of replication_ssl test introduced by 297090d
2014-07-15 15:08:50 -06:00
Kelly McLaughlin
1ba3fed5e3 Merge pull request #662 from basho/bugfix/avoid-replication-cert-expiry
Change replication SSL ACL tests to avoid certificate expiration
2014-07-15 15:08:17 -06:00
Christopher Meiklejohn
62feeeaa14 Remove perf_restart for now. 2014-07-15 14:15:23 -04:00
Christopher Meiklejohn
433b320be9 Cleanup, add debugging. 2014-07-15 14:15:23 -04:00
Christopher Meiklejohn
a4f05d1aa4 Default strong_consistency on. 2014-07-15 14:15:23 -04:00