Commit Graph

1496 Commits

Author SHA1 Message Date
Russell Brown
6fe9940c02 Use built in rt code for bucket type creation 2014-03-24 14:10:37 +00:00
Russell Brown
8c5ca5a3a4 Add test for context operations on riak datatypes 2014-03-19 15:57:20 +00:00
Russell Brown
77d20d7cd0 Revert "no context" work around for broken riak_dt 2014-03-19 11:30:38 +00:00
Russell Brown
cbb2507067 Merge pull request #550 from basho/rdb/workaround-broken-ctx
Changes to fix a broken CRDT map (see riak_dt#82) break this test
2014-03-14 19:24:16 +00:00
Russell Brown
2ec86af321 Changes to fix a broken CRDT map (see riak_dt#82) break this test
Well, that's not true. They break riak_kv's context operations on Maps.
This change works around that breakage by turning the context off for
the operations in this test. It is a temporary thing, when the context fix
work has been done, we'll be changing back.
2014-03-14 18:05:49 +00:00
John Daily
5cadbc014a Merge pull request #548 from basho/jrd-print-grants
Update tests to match new security functionality
2014-03-07 12:16:16 -05:00
John R. Daily
804e28fbe2 Update tests to reflect new commands, plus the fact that riak_core_console is being called twice from one riak-admin command in some cases 2014-03-06 19:10:27 -05:00
Micah
fa89febd01 Merge pull request #546 from basho/feature/mw/fscoordinator-stat-cache
Added test to ensure fssource's don't block repl status.
2014-03-05 12:43:04 -06:00
lordnull
bf9525fbf6 Added test to ensure fssource's don't block repl status. 2014-03-04 15:28:34 -06:00
Kelly McLaughlin
46d2b2b7ef Merge branch 'feature/cascading-rtq-test' 2014-02-28 09:05:54 -07:00
Kelly McLaughlin
bfb35d59cd Rename rt_cascading_rtq -> repl_rt_cascading_rtq 2014-02-26 12:16:28 -07:00
Kelly McLaughlin
711d687c91 Add test for realtime queue data buildup on sink clusters 2014-02-26 11:50:00 -07:00
Engel A. Sanchez
785794cd6c Merge pull request #519 from basho/bugfix/bring-back-rt-wait-until-aae-trees-built
Bring test back to 1.4.7 glory
2014-02-20 19:48:48 -05:00
John Daily
9143f184c9 Merge pull request #538 from basho/jrd-security-role-bifurcation
Treat users and groups as distinct concepts
2014-02-20 15:34:16 -05:00
Andrew Thompson
af1691530e Enable siblings for pb_security test 2014-02-20 15:24:14 -05:00
Kelly McLaughlin
0d91dbd464 Merge branch 'feature/consistent-object-repl-filter-test' 2014-02-20 11:43:44 -07:00
Kelly McLaughlin
11e5736840 Merge branch 'bugfix/repl_rt_heartbeat_seconds_timeout' 2014-02-20 11:39:23 -07:00
Kelly McLaughlin
6e51337839 Merge branch 'refactor/repl_bucket_types' 2014-02-20 11:38:24 -07:00
Andrew J. Stone
c71f648c2d Merge pull request #526 from basho/ajs-overload-handling
Ajs overload handling
2014-02-20 13:13:17 -05:00
Kelly McLaughlin
aca2606fbd Change heartbeat timeout to seconds in repl_rt_heartbeat test
The heartbeat timeout enforcement was recently updated to be
specified in seconds to match the documentation for that option. The
repl_rt_heartbeat test has since been failing since it still specified
the timeout in milliseconds.  This change makes the test use seconds
for the heartbeat timeout gets the test passing again.
2014-02-19 16:48:31 -07:00
Kelly McLaughlin
ecc5dfb25c Fix problem with repl_util:wait_until_leader_converge function
The wait_until_leader_converge function could incorrectly return
success if all of the results from the get_leader rpc calls were
either undefined or all returned a badrpc tuple. In either case the
particular result ends up as the sole unique value in a list and the
success condition is verifying that the list is of length 1 regardless
of the value of the member of the list. Change the function to filter
the list of results for values that indicate failure prior to the
success condition checking.
2014-02-19 14:10:32 -07:00
Kelly McLaughlin
e009ad9141 Refactor repl_bucket_types test
Refactor the repl_bucket_types test to elminate a race condition in
cluster setup and reduce code duplication.
2014-02-19 14:09:36 -07:00
Andrew J. Stone
e4b9cb7634 Use a real message to overload vnodes during coverage tests in overload.erl 2014-02-19 14:15:51 -05:00
Engel A. Sanchez
48d06e59a2 Merge pull request #540 from basho/feature/add-aae-test-2.0
Add AAE test
2014-02-14 19:23:07 -05:00
Engel A. Sanchez
66dc9908f6 Missed the get b4 put and siblings merge intended 2014-02-14 17:30:11 -05:00
Engel A. Sanchez
cf9888ffa3 Add AAE test
This test verifies that AAE repairs replicas of values without passive
read repairs. This includes missing replicas and replicas with divergent
values.  It will also repair entire KV partitions lost, and if
configured for trees to rebuild, it will recover from AAE data loss and
corruption.

This version differs from the original 1.4 test only in the handling of
siblings. It does get before put for modifications and merges values by
choosing the longest one, as modifications in this test append bits.
2014-02-13 18:07:07 -05:00
Kelly McLaughlin
94eeb44f96 Merge branch 'feature/fullsync-bucket-type-testing' 2014-02-13 13:51:55 -07:00
Andrew J. Stone
bfe561eb00 use pb client for list_keys to ensure interface success 2014-02-13 15:51:49 -05:00
Jon Anderson
2760541967 various fixes; changed mixed-version fullsync check 2014-02-13 13:51:33 -07:00
Jon Anderson
024d725d3c removed commented function enable_fullsync, and comments 2014-02-13 13:51:33 -07:00
Jon Anderson
ad9af013f4 added backward compatbility test for fullsync 2014-02-13 13:51:33 -07:00
Kelly McLaughlin
8b54af245e Refactor repl_bucket_types test to also test fullsync 2014-02-13 13:51:32 -07:00
Jared Morrow
ee27329edb Bump lager dep to 2.0.3 2014-02-13 11:16:27 -07:00
John R. Daily
a1062111fc Bring pb_security test up to date with riak-core security changes 2014-02-12 19:19:08 -05:00
Andrew Thompson
b05c5e5d5f Merge pull request #536 from basho/bugfix/fix-cipher-suite-test
Don't use an elliptic curve cipher in the test, some OpenSSL flavors don't support it
2014-02-11 10:40:01 -05:00
Andrew Thompson
d0acc34568 Don't use an elliptic curve cipher in the test, some OpenSSL flavors don't support it
This should fix the test on CentOS 6 using openssl 1.0.1e-fips.
2014-02-10 16:24:09 -05:00
Andrew Thompson
246ed41a3c Fix typo 2014-02-10 14:03:00 -05:00
Micah
fe82cc3ae2 Merge pull request #534 from basho/bugfix/mw/remove-mutator-capability
Removed test for mutator capability.
2014-02-10 12:04:00 -06:00
Dave Parfitt
a7189e495d Merge pull request #535 from basho/dp_remove_fullobjects
removed full_objects test, it's been removed from 2.0
2014-02-10 12:32:52 -05:00
Dave Parfitt
4479abd542 removed full_objects test, it's been removed from 2.0 2014-02-10 12:28:25 -05:00
lordnull
000b50fba0 Removed test for mutator capability. 2014-02-10 10:36:08 -06:00
Jared Morrow
e49b9c314e Merge pull request #532 from basho/adt-smoke-test-cleanups
Various improvements to the smoke tester
2014-02-06 09:25:06 -07:00
Andrew Thompson
42e4c5fcd7 Various improvements to the smoke tester
* Fix the wait_for_workers in 'jobs' mode
* Handle a dep dir being a symlink (leftover from an aborted previous run)
* Add a new --tasks option so you can pick which tasks you want to run (eunit/dialyzer/xref)
2014-02-05 18:13:06 -05:00
Andrew Thompson
2c1d6c915d Merge pull request #528 from basho/feature/xref-smoke-tests
Support xref smoke tests
2014-02-04 18:06:43 -08:00
Kelly McLaughlin
865173095c Add test to ensure that consistent objects are not replicated
Replication of consistent objects is not currently supported. Add a
test to ensure that fullsync replication filters these objects. No
testing is necesary for realtime replication at this time because the
postcommit hook mechnaism it uses is not invoked in the consistent
object code path.
2014-02-03 12:30:27 -07:00
Jordan West
ee71f56c6e Merge pull request #529 from basho/jrw-cmb-improvements
improve cluster_meta_basic
2014-02-02 16:13:05 -08:00
Jordan West
a9100158a3 improve cluster_meta_basic
cluster_meta_basic has been intermittently failing [1]. This commit
includes two improvements, the second of which addreses this
intermittent failure.

The first change modifies the test to "wait_until_object_count"
instead of reading the object count at a given moment and getting a
possibly stale, or soon to be updated, value. This alone does not
cause the to pass reliably. However, it highlights that the
underlying race condition is one where the object count will never
reach the expected value.

The second change modifies the test to avoid the race, which was
caused by resolving on two different nodes concurrently, each of which
in turn wrote and broadcasted the resolved result. If an interleaving,
such that both writes are allowed to succeeed before one node is
notified of the modification on the other, occurs so does the
failure. The test has been changed to only perform the write/broadcast
on a single node ensuring that we eventually converge the the expected
value and object count.

[1]
http://giddyup.basho.com/#/projects/riak_ee/scorecards/73/73-1556-cluster_meta_basic-centos-6-64/35530/artifacts/532185
2014-01-31 17:28:22 -08:00
Andrew Thompson
766d2ab1cc Support xref smoke tests 2014-01-31 11:38:29 -05:00
Andrew J. Stone
5e0ff64a66 get coverage query overload tests to repeatedly pass 2014-01-28 18:49:57 -05:00
Andrew J. Stone
242493baaf modify how coverage queries are checked in overload test 2014-01-27 15:25:02 -05:00