John Burwell
a38166e6ea
Configure all JMX listeners to use an unprivledged port the test can be
...
executed when not running as root.
Logs the JMX query command line to assist test failure debugging
2014-11-11 22:06:22 -05:00
Christopher Meiklejohn
c51f057548
Merge pull request #700 from basho/bugfix/csm/gossip-convergence
...
Resolve race condition.
2014-11-06 13:48:05 -08:00
Christopher Meiklejohn
98b66a3190
Resolve race condition.
...
Don't wait for convergence of the ring, because bucket properties are no
longer stored in the ring; instead, wait until the property changes,
which means the gossip has stabilized.
2014-11-06 12:30:03 -08:00
Christopher Meiklejohn
b7469f0a28
Merge pull request #698 from basho/bugfix/csm/restore-deleted-code
...
Restore deleted intercept.
2014-11-05 17:56:23 -08:00
Christopher Meiklejohn
f920313cf8
Restore deleted intercept.
...
Restore deleted intercept which is causing any test which references
this to fail.
2014-11-05 17:39:06 -08:00
Micah
696e034ed8
Merge pull request #684 from basho/feature/mw/cluster-mgr-refactor-support
...
Fixed cluster connection detmination function.
2014-10-30 11:40:43 -05:00
Russell Brown
64dc687515
Merge pull request #690 from basho/bug/rdb/kv679-uid
...
Test for kv679 unique vnode id on a node
2014-10-21 22:15:42 +01:00
Russell Brown
1f4e504b70
Test for kv679 unique vnode id on a node
2014-10-15 11:29:16 +01:00
Kelly McLaughlin
0de269a682
Merge branch 'feature/riak-admin-exit-code-option'
2014-10-14 13:25:21 -06:00
Brett Hazen
41e8c95ef4
Merge pull request #682 from basho/update/bch/update-versions
...
Update rtdev-* Scripts and README to Reflect Latest Riak Versions; Allow build from riak_ee, too
2014-10-12 18:08:36 -06:00
Kelly McLaughlin
cf55f195a5
Add option to return exit code from rt:admin calls
...
Add an rt:admin/3 function that accepts a list of options as the third
parameter. Currently the only valid option is return_exit_code. The
rtdev, rtssh, and rt_cs_dev harnesses have been updated to support
this option. If return_to_exit is specified the return from a
?HARNESS:admin call is a pair with the exit code as the first member
and the command output as the second member. Finally the
basic_command_line test has been changed to use return_for_exit to
verify the changes.
2014-10-10 15:37:54 -06:00
Brett Hazen
19fb4fa50a
Revert to redirecting git output to /dev/null
2014-10-10 13:15:53 -06:00
Micah Warren
d1891f69fd
Fixed cluster connection detmination function.
...
Due to the refactor for the cluster manager/connection manager system to
use otp behaviors, the raw message method of getting stats has been ousted.
Instead, it uses a call. To allow the riak_test to be able to check older
clusters as well as the method, the function was extended to try new and
then the old.
2014-09-24 15:42:26 -05:00
Brett Hazen
735301f303
Update scripts to build more recent older versions and fix issues with Riak 1.3.x
2014-09-17 15:31:54 -06:00
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