Commit Graph

1296 Commits

Author SHA1 Message Date
Doug Rohrer
51db1bde66 Merge branch 'riak/2.0' into forward_merge/dr/riak_2.0_to_master
- Forward merge verify_stage_clustering fix
- Updates to allow either strings or atoms for node names in config & allow them to be different (atom or string) in test vs. config.
2015-08-26 13:59:04 -04:00
Doug Rohrer
9c2db4b148 Use wait_for and actually check the results of riak-admin cluster join
to ensure we've really joined the cluster before we continue the test.
2015-08-26 13:36:30 -04:00
Jason Voegele
b71e582dc0 Log when original version of intercepted function fails 2015-08-26 09:21:30 -04:00
Jason Voegele
8641f6edc6 Crash test process instead of returning fail atom 2015-08-25 16:24:55 -04:00
Jason Voegele
9ee856546a Fail with the bare atom fail
`riak_test_runner` does not support tagged tuples for failures. Fix
verify_snmp_repl module so that it returns the bare atom `fail` when it
fails, and write more detailed error messages to the log instead.
2015-08-25 14:39:28 -04:00
Doug Rohrer
a26be146c4 Added rt:create_activate_and_wait_for_bucket_type so that the test can
specify it wants all nodes in the cluster to have the type before
continuing. Update http_bucket_types to use said function.

(cherry picked from commit 31b1002b3e)
2015-08-25 11:21:18 -04:00
Doug Rohrer
31b1002b3e Added rt:create_activate_and_wait_for_bucket_type so that the test can
specify it wants all nodes in the cluster to have the type before
continuing. Update http_bucket_types to use said function.
2015-08-25 10:20:42 -04:00
Doug Rohrer
bbf44fd14b Forward merge (potential) fix for riak667_mixed {error, disconnected} issue. 2015-08-21 17:14:52 -04:00
Doug Rohrer
94c66e7138 Renamed connection Pids and reformat some code for consistency. 2015-08-21 16:36:37 -04:00
Doug Rohrer
86fece0c9c Use a new connection after each failed attempt to read a map, as
auto_reconnect seems to be broken, and isn't part of the test.
2015-08-21 11:22:12 -04:00
Brett Hazen
67cfb444ed Backport @seancribbs's change in #791 to address disconnection in
riak667_mixed
2015-08-19 10:12:23 -06:00
Zeeshan Lakhani
d3a17e90da Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/riak/2.0_head_97be67233aaac3242a58d06700bf0fbe55619d80-to-2.1 2015-08-14 17:34:18 -04:00
Andrei Zavada
724d368eda specify -behaviour(riak_test) for proxy_overload_recovery 2015-08-15 01:19:07 +04:00
Andrei Zavada
c259888e56 wrap proxy_overload_recovery contents in -ifdef(EQC). 2015-08-15 01:19:07 +04:00
Jason Voegele
c1d21c4822 Backport verify_snmp_repl 2015-08-14 10:26:01 -06:00
Jon Meredith
9db55b5256 Merge branch 'riak/2.0' 2015-08-14 08:15:06 -06:00
Christopher S. Meiklejohn
caac0f35c1 Merge pull request #827 from basho/bugfix/jdm/vnode-proxy-stuck-in-overload-v2
Quickcheck test for vnode proxy overload recovery.
2015-08-13 18:58:36 -04:00
Zeeshan Lakhani
4b9c91bfbe Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/riak/2.0tomaster 2015-08-13 18:36:12 -04:00
Jon Meredith
2e868da4ca Merge pull request #829 from basho/jdm/2.1.2rc2-that-should-be-in-2.0
Jdm/2.1.2rc2 that should be in 2.0
2015-08-13 16:26:54 -06:00
John R. Daily
2ce3a57b1b Make this test deterministic whether it likes it or not: intercept init 2015-08-13 17:33:38 -04:00
Jon Meredith
865a389b76 Updated proxy overload recovery test with review comments.
Only non-cosmetic change as to the order of
drain/sys:resume in the resume step and an improvement
to how EQC libraries are added to the path (you need the same
set as you have installed on the r_t node - including eqc_mcerlang')..
2015-08-13 11:30:36 -06:00
Zeeshan Lakhani
499a7b1c48 add some clarity to ordering of socket close and such
(cherry picked from commit 13408eb9e2)
2015-08-13 13:07:40 -04:00
Zeeshan Lakhani
ba60249fc3 * clean-up yokozuna_rt for reusability
* add new types for dialyzer
* add test to reload schema and overwrite it on type change
* test nested search (e.g. nested json objects)
* test re-putting fields, include crdt map workaround, discussed in
https://gist.github.com/sdebnath/36c235e042cb35db7d1f
* increase aae concurrency for core_prop test

(cherry picked from commit 16ce998e3f)
2015-08-13 13:07:40 -04:00
Brett Hazen
be89186090 Fix riak_control to check the correct devrel version 2015-08-12 19:50:50 -06:00
Jon Meredith
d43e526078 Only add EQC paths if nodes do not have them in proxy overload test. 2015-08-12 16:56:30 -06:00
Brett Hazen
4ddbd95460 Merge pull request #821 from basho/bugfix/bch/cleanup_verify_membackend
Update verify_memorybackend for RIAK-2061
2015-08-12 15:22:52 -06:00
Brett Hazen
0122a475e8 Merge pull request #817 from basho/bugfix/bch/update_riak_control_versions
Fix riak_control and riak_control_authentication for Riak 2.1+
2015-08-12 15:20:39 -06:00
John Daily
4a7c4b01d3 Merge pull request #782 from basho/rdb/gh-riak-727
Add failing test for github issue riak-727
2015-08-12 15:17:47 -06:00
Jon Meredith
696dc22c25 Added a couple of TODO reminders to the proxy overload test. 2015-08-12 11:45:58 -06:00
Brett Hazen
8ada302b69 Merge pull request #821 from basho/bugfix/bch/cleanup_verify_membackend
Update verify_memorybackend for RIAK-2061
2015-08-12 11:34:59 -06:00
Jon Meredith
9e828eaaa1 Quickcheck test for vnode proxy overload recovery.
Requires vnode proxy fix (probably release *after* 1.4.12/2.0.6/2.1.2).
2015-08-12 10:55:14 -06:00
John Daily
987f9826cf Merge pull request #782 from basho/rdb/gh-riak-727
Add failing test for github issue riak-727
2015-08-11 19:44:13 -04:00
John R. Daily
dee00a3f9c Need a much longer delay to get reliably successful failures 2015-08-11 19:35:28 -04:00
John R. Daily
6f29ae93f6 Test reliably passes locally, do not need gossip, just a slow riak_core start 2015-08-10 23:35:24 -04:00
John R. Daily
77227de121 Force delay to provoke cluster join error 2015-08-10 15:56:25 -04:00
Zeeshan Lakhani
346a651326 Merge pull request #820 from basho/tests/zl/yz-extractors-bit-o-cleanup-but-cant-repro-flappiness
add some clarity to ordering of socket close and such
2015-08-10 10:13:25 -04:00
Brett Hazen
65d55654d3 Merge pull request #817 from basho/bugfix/bch/update_riak_control_versions
Fix riak_control and riak_control_authentication for Riak 2.1+
2015-08-07 10:47:25 -06:00
Jon Meredith
2f03579305 Reproduce build cluster race with capabilities. 2015-08-07 10:01:23 -06:00
Brett Hazen
4034777d0c Change verify_memorybackend to use calls to core and kv to determine
memory used, instead of a brittle parsing of data structures
2015-07-31 14:48:45 -06:00
Zeeshan Lakhani
13408eb9e2 add some clarity to ordering of socket close and such 2015-07-31 16:43:03 -04:00
Zeeshan Lakhani
875e50be41 Merge pull request #800 from basho/add-tests/zl/test-reload-schema-field-funniness
Add new test for schema reload/overwrite
2015-07-30 12:25:08 -04:00
Brett Hazen
a88a20fe25 Merge pull request #791 from basho/bugfix/sdc/667-mixed-auto-reconnect
Hopefully fix the disconnection issue in the riak667_mixed test
2015-07-29 15:28:10 -06:00
Fred Dushin
fa7224a898 Merge pull request #812 from basho/bugfix/fd/RIAK-1850
Test fix for bad_match during handoff with write_once buckets
2015-07-29 17:00:03 -04:00
Doug Rohrer
7e7cb73d55 Add rt:wait_until_bucket_type_visible to avoid floppiness in test - verify would fail because, while handoff had completed, the bucket type information hadn't yet been gossiped to the new node. 2015-07-28 11:03:45 -04:00
Brett Hazen
98c6832367 Switch check_put_delete/1 to use a range of acceptable sizes 2015-07-27 15:27:52 -06:00
Brett Hazen
f349c028d9 Fix riak_control and riak_control_authentication for Riak 2.1+
- Use the actual version string (e.g. riak_ee-2.1.2) of devrel
  instead of "current", "previous", "legacy" to determine which
  tests to run
- Add rt:get_version/1 to find the version of devrels other than
  "current"
2015-07-25 21:21:42 -06:00
Brett Hazen
68ca37a54c Adjust verify_membackend:get_used_space/2 to work with Riak 2.1+ 2015-07-24 16:31:15 -06:00
Fred Dushin
5cf5ef0d7a Cleaned up commented code. No change in behavior. 2015-07-24 12:12:31 -04:00
Fred Dushin
87f3f88d49 Modified test to wait to send messages until all waiting vnodes are in the handoff state. Also corrected some of the arithmetic errors in counting the number of entries we were supposed to send. (doh) 2015-07-24 11:07:15 -04:00
Fred Dushin
6f979d69ec Mode a change in the protocol between vnodes and our bg proc in the test to keep vnodes in the handoff state until all writes have completed.
Plus some miscellaneous tightening of test conditions.
2015-07-23 17:47:47 -04:00