Commit Graph

1871 Commits

Author SHA1 Message Date
Kelly McLaughlin
047200f1b6 Merge pull request #681 from basho/feature/verify-handoff-heartbeat
Add verification of handoff heartbeat to verify_handoff test
2014-09-17 13:44:54 -06:00
Kelly McLaughlin
7cd2645564 Add verification of handoff heartbeat to verify_handoff test
Add testing of the handoff heartbeat change from the following pull
request: https://github.com/basho/riak_core/pull/560. Add an intercept
module for the riak_core_handoff_sender module to introduce artificial
delay on item visitation during a handoff fold. This delay along with
the changes to the verify_handoff test induces test failure when run
without the heartbeat change. The handoff_receive_timeout is exceeded,
handoff stalls, and the test eventually fails due to timeout. The test
succeeds when run with the heartbeat change.
2014-09-11 15:05:26 -06:00
Russell Brown
43ee07c579 Merge pull request #680 from basho/bug/reliable-dvv-repl
Ensure repl is done before checking final value
2014-08-28 09:49:30 +01:00
Russell Brown
45846699c7 Wait until all changes are replicated before passing
Realtime repl takes real time, so wait for it to finish before
calling the test done.
2014-08-27 18:21:00 +01:00
Russell Brown
57cbd61b35 Ensure realtime repl is doing it's thing before making updates 2014-08-27 15:33:10 +01:00
Sean Cribbs
ea155720a7 Merge pull request #678 from basho/bugfix/smoke-test-artifacts-fix
Fix smoke tests uploading artifacts
2014-08-26 13:26:25 -05:00
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
Sean Cribbs
a6507be9e5 Fix annoyance with how improper options would cause a crash.
Instead, we print the usage output and halt. Also, print the usage
output when a project is not specified.
2014-08-25 15:48:25 -05:00
Sean Cribbs
7c259e5d85 Use post_artifact instead of relying on the 'log' parameter to the result. 2014-08-25 15:47:20 -05: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