Commit Graph

2480 Commits

Author SHA1 Message Date
John R. Daily
5ba9cf56ae Add retry for join error 2015-08-11 00:23:35 -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
John R. Daily
3f61b617b2 Fix branch deps 2015-08-05 15:31:38 -04:00
Fred Dushin
662fa8e3c3 Merge pull request #824 from basho/bugfix/zl/big-dummy-blame-zeeshan-bucket-index-swap
switcheroo
2015-08-05 11:44:40 -04:00
Zeeshan Lakhani
ae7815d57d switcheroo 2015-08-05 11:32:58 -04:00
Engel A. Sanchez
fa49385837 First EQC test for secondary indexing
It needs more love to match the functionality of the regular 2i tests,
but this is a good beginning. It can show a race in 2i pagination that
has been in the code for years. The race does not show up in run in a
single node with very few vnodes. I tried 32.  Ideally we could use
PULSE to make scheduling in the riak nodes less deterministic and help
find this kind of issue, but currently PULSE is a single node joint.

This test uses a different bucket for each EQC command run. It is not
perfect isolation, but it is good enough and very fast compared to
taking down the entire cluster in between each run.
2015-08-04 14:43:21 -04:00
Brett Hazen
aa3f05352e Merge pull request #815 from basho/feature/bch/update-rtdev-versions
Update Documentation and Build Scripts for Riak 2.1
2015-08-04 09:33:33 -06:00
Brett Hazen
ff1f73c821 Update versions built 2015-08-04 02:42:01 +00:00
Mark Allen
c192f92faf Make release tags BASH variable 2015-08-03 14:41:28 -05:00
Brett Hazen
920ddf7c03 Update R16 version to OTP_R16B02_basho9 tag 2015-08-03 19:18:38 +00:00
Brett Hazen
659f96ae34 Build Basho-patched Erlang and add tweaks for CentOS 2015-08-03 19:10:30 +00:00
Brett Hazen
2e1290f17a Merge pull request #819 from basho/feature/mra/rtdev-osx
If we're building on OS X, don't build HiPE or ODBC connector
2015-08-03 10:06:53 -06:00
Mark Allen
c746eb9290 Make the erlang builds more official 2015-07-31 21:09:48 -05:00
Mark Allen
b44a6702eb Merge branch 'feature/bch/update-rtdev-versions' of github.com:/basho/riak_test into feature/bch/update-rtdev-versions 2015-07-31 16:26:50 -05:00
Mark Allen
3c9fae3241 Make the release build process more reliable
Many changes here:
* Only download source once from the Interwebs
* Skip a directory if it's already built
* Use locked-deps when appropriate
2015-07-31 16:23:40 -05: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
John R. Daily
5eeee83083 Test for new return_body functionality 2015-07-31 10:33:17 -04:00
John R. Daily
71593e3bdd Values should be binary, expose URL generation, and some collateral whitespace cleanup 2015-07-31 10:32:26 -04:00
John R. Daily
be46d78a6a 2i tests depend on an index backend 2015-07-30 21:41:32 -04:00
Mark Allen
1e680333dd If Darwin, don't build hipe/odbc 2015-07-30 17:10:16 -05: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
73c24ab861 Update the URL for pulling down kerl 2015-07-30 09:39:22 -06: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
Brett Hazen
24c63feba5 Merge pull request #816 from basho/bugfix/bch/update_membackend_regex
Patch verify_membackend test to run in 2.1+
2015-07-28 11:52:33 -06: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
Brett Hazen
2ea13ff15f Add product name back to VERSION file 2015-07-24 08:58:13 -06: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
Fred Dushin
c8d3138cfc Missed a change in previous commit 2015-07-23 14:22:12 -04:00
Fred Dushin
399759c330 Added some documentation to the test.
Also changed the name of the internal identifier for the globally registered bg process, to avoid potential name collisions in the future.
2015-07-23 14:18:25 -04:00
Fred Dushin
a418bae347 Write-Once test improvements
* Made tests of handoff conditions more strict than they were before
* Added an intercept to the async write_once test to test that asynchronous writes actually happened
* Added a test case for the riak_kv (advanced) allow_async_put configuration variable.
2015-07-23 12:25:35 -04:00
Doug Rohrer
9dd2165b71 Merge pull request #814 from basho/bugfix/RIAK-1884
Add verify_snmp_repl riak_test
2015-07-23 11:11:49 -04:00
John R. Daily
082aa85896 Remove some lager noise, add explicit key identification when making sure all are present 2015-07-22 18:11:58 -04:00
Brett Hazen
e8a92c4c28 Back out addition of --ignore-removal from git add command 2015-07-21 14:45:43 -06:00
Brett Hazen
9fae776d41 Update documented versions to be 1.4, 2.0 and 2.1 2015-07-21 13:31:19 -06:00
Brett Hazen
b08e8d83ad Merge pull request #813 from basho/feature/simple_cluster_test
Add basic cluster converge test to try to capture issues with cluster convergence outside of other tests.
2015-07-21 13:27:00 -06:00
Fred Dushin
666f0ca375 Added intercepts to count the synchronous and asynchronous calls through handle_command, to ensure we are testing the case statements in riak_kv_vnode:handle_command with write_once puts. 2015-07-20 21:23:22 -04:00
Jason Voegele
3a7be664cd Remove extraneous lager call 2015-07-20 14:44:44 -04:00
Jason Voegele
0ffcc61b97 Add verify_snmp_repl riak_test
The verify_snmp_repl test reproduces the error condition (one cluster
configured for realtime replication with two or more other clusters) and
passes if and only if the riak_snmp_stat_poller module correctly handles
this configuration.

https://bashoeng.atlassian.net/browse/RIAK-1884
https://github.com/basho/riak_snmp/issues/27
2015-07-20 11:25:21 -04:00
Zeeshan Lakhani
16ce998e3f * 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
2015-07-20 08:49:40 -04:00