Commit Graph

1044 Commits

Author SHA1 Message Date
Kelly McLaughlin
bc52f94bda Merge branch 'refactor/change-ok-test-returns' 2014-05-22 16:35:08 -06:00
John R. Daily
429064e18b Add tests for bugs reported against riak_core: 917, 918 2014-05-22 18:18:32 -04:00
Kelly McLaughlin
1f538d7ee0 Update tests that return something other than pass for success
As of commit 3044839456 tests that
return something other than the prescribed success atom 'pass' to
indicate success result in test failure. Change tests that return the
atom 'ok' or some other value to instead return 'pass' to indicate
success.
2014-05-22 15:54:23 -06:00
Ryan Zezeski
3044839456 Merge pull request #613 from basho/rz/no-fails
A return of `fail` should actually report failure
2014-05-21 18:29:53 -04:00
rzezeski
f78de19560 Add always_fail_test
Add a test that always fails to make sure that the pass/fail logic is
working.
2014-05-21 17:13:27 +00:00
Russell Brown
8d2daa62e6 Update dt test for reset-remove semantic
And dopping of "add" fro Map API
2014-05-20 14:41:15 +01:00
Sean Cribbs
6cfdf26a4b Check for props on non-existent bucket type. See basho/riak_api#62 2014-05-19 15:21:49 -05:00
Micah Warren
43ae4e2871 Removed 'allow_mult false' for test.
This reverses an earlier change to support a feature that has been stripped
(for now). When said feature is put back in, it should support multi.
Setting this to allow mutlt = true allows for more confidence in tests.
2014-05-19 12:48:08 -05:00
Sean Cribbs
c2c97efb82 Use the wrapper function for getting a PB connection. 2014-05-19 11:32:02 -05:00
Sean Cribbs
3476bf4d7f Added check for list-keys and 2i security on non-default bucket-types. 2014-05-17 12:46:23 -07:00
Joe DeVivo
cfd473ad23 Merge pull request #603 from basho/refactor/confbal/ssl
Using riak_core ssl app settings instead of riak_api
2014-05-13 13:48:55 -07:00
Steve Vinoski
6e7bbb8b27 remove localhost dependencies in http_security test
Make sure the http_security test works when run on an actual cluster under
rtcloud.
2014-05-13 15:48:09 -04:00
Joe DeVivo
d654a438d7 Using riak_core ssl app settings instead of riak_api 2014-05-13 09:04:34 -07:00
Jon Anderson
6fd07010d7 Add EQC ifdefs. 2014-05-13 11:44:45 -04:00
Engel A. Sanchez
bda1b5c3cf Merge pull request #543 from basho/refactor/one-wait-4-aae-trees
Merge repl and rt versions of wait until AAE trees build
2014-05-12 15:54:36 -04:00
Engel A. Sanchez
31588c5d22 Replacing repl_util AAE wait with rt version 2014-05-12 14:55:59 -04:00
Andrew Thompson
29def51378 Merge pull request #601 from basho/adt-use-make_certs
Switch all the selfsigned certificates to be generated on demand
2014-05-09 22:41:07 -04:00
Andrew Thompson
6c4afcbcde Switch all the selfsigned certificates to be generated on demand
Using the make_cert tool we can generate arbitrary certificate chains on
demand, so they never have to be regenerated.
2014-05-09 14:46:52 -04:00
Jon Anderson
79a0434c3d Merge pull request #599 from basho/feature/jra/listkeys-eqcfsm
Eqc-fsm version of listkeys statem test
2014-05-09 13:58:59 -04:00
Jon Anderson
0daccbbb81 Refactor test.
- Move noshrink to g_uuid.
- Remove dead code.
2014-05-09 12:27:50 -04:00
Jon Anderson
fe8ffc6c6c Add noshrink call to g_uuid() so avoid shrinking on uuid generation. 2014-05-09 12:01:05 -04:00
Jon Anderson
576f8961d2 Remove unnecessary flags from State. 2014-05-09 11:15:41 -04:00
Jon Anderson
4ece10f424 Complete basic test.
- Fix single bucket handling.
- Remove unused preconditions from statem test.
- Add postconditions for verification.
2014-05-09 10:50:13 -04:00
Eric Redmond
0f6cda672b Bucket type missing from MR verify, search with wildcard 2014-05-08 21:38:41 -07:00
Kelly McLaughlin
acd0f3fbe6 Merge branch 'bugfix/verify-busy-dist-port-hang' 2014-05-08 16:18:43 -06:00
Jon Anderson
5a78809cde Rename states to be more sensible. 2014-05-08 15:25:38 -04:00
Christopher Meiklejohn
de0f50fd86 Merge pull request #597 from basho/bugfix/csm/riak_control
Resolve riak_control failures.
2014-05-08 12:40:43 -04:00
Christopher Meiklejohn
32b6a598e9 Resolve riak_control failures.
Resolve failures with cuttlefish configuration changes in Riak 2.0.

Remove riak_control_upgrade, since riak_control should cover those use
cases completely.
2014-05-08 12:40:13 -04:00
Jon Anderson
3d4a836915 Added druuid depenency to fix g_uuid() failure in
verify_listkeys_eqcfsm.
2014-05-07 11:35:34 -04:00
Jon Anderson
6131a7be5e Fixed post-test State handling for cleanup. 2014-05-06 17:28:12 -04:00
Kelly McLaughlin
0de33c7b66 Resolve issue with verify_busy_dist_port test hanging indefinitely
The verify_busy_dist_port helper function cause_bdp:spam_nodes/1
recently changed to be more aggressive in triggering busy_dist_port
warnings. The function changed to spawn 1 million processes to ensure
the test generated enough activity to trigger the warnings, but that
number of processes exceeds the 256 thousand process limit that is the
Riak default. One consequence of this can be that the rex server
responsible for handling rpc calls can crash. In some cases this leads
to rpc calls by riak_test to shutdown the riak nodes involved in the
test to hang indefinitely. This change reduces the number of processes
spawned to 200 thousand. This should still be enough processes to
trigger the busy_dist_port warnings, but without exceeding the beam
process limit.
2014-05-06 14:40:47 -06:00
Jon Anderson
6ce90f87be Eqc-fsm version of verify_listkeys_eqcfsm. 2014-05-06 15:28:28 -04:00
Joe DeVivo
ffadda64a2 Fixed all hardcoded references to 127.0.0.1 in replication2_pg 2014-05-01 15:38:02 -06:00
Joe DeVivo
004de13036 potential fix for replication2_pg:test_mixed_pg_ssl 2014-05-01 15:38:02 -06:00
Joe DeVivo
60036e57f4 replication2_pg fixes for rtcloud 2014-05-01 15:30:32 -06:00
Kelly McLaughlin
f9cf5f840c Merge branch 'bugfix/repl-upgrade-wait-for-rt-conn' 2014-04-25 08:30:46 -06:00
Kelly McLaughlin
2e0991f9e2 Merge branch 'bugfix/verify-counter-capabilities-failure' 2014-04-24 22:02:43 -06:00
Kelly McLaughlin
e2a1ccd653 Wait for realtime connections after node upgrades in replication tests
Prior to Riak 1.4.8 replication registers as a service prior to
completing all initialization tasks including establishing realtime
connections to sink clusters. This leads to a race condition in the
replication_upgrade and replication2_upgrade tests where the test may
begin writing data to the source cluster to verify the function of
realtime replication before the most recently upgraded node
establishes a connection to the sink cluster. The result of this is
that the data is silently discarded by the realtime replication system
and the test fails because all of the expected data is not replicated
and able to be read on the sink cluster. Change the
replication_upgrade and replication2_upgrade tests to explicitly wait
for the realtime connection to be established after each source
cluster node is upgraded before proceeding with the test.
2014-04-24 21:43:05 -06:00
Engel A. Sanchez
1ed2120668 Verify Bitcask tombstone 2 upgrade
Verify that upgrading Riak with Bitcask to 2.0 or later will trigger
an upgrade mechanism that will end up merging all existing bitcask
files.  This is necessary so that old style tombstones are reaped,
which might otherwise stay around for a very long time. This version
writes tombstones that can be safely dropped during a merge. Bitcask
could resurrect old values easily when reaping tombstones during a
 partial merge if a restart happened later.
2014-04-24 18:08:40 -04:00
Christopher Meiklejohn
bd0721ec32 Merge pull request #588 from basho/feature/csm/repl-stats-1
Add basic moving target stats test.
2014-04-24 12:00:02 +01:00
Christopher Meiklejohn
20fb678e17 Merge pull request #587 from basho/feature/csm/downgrade-rt
Refactor test to assert downgrade.
2014-04-24 11:19:01 +01:00
Kelly McLaughlin
c5cab6a2b2 Merge branch 'bugfix/replication2-pg-test-pg-proxy' 2014-04-23 14:56:56 -06:00
Andrew J. Stone
eb9bc44c66 prevent non-deterministic failures in ensemble_remove_node2
Add a wait_untiL_stable call right before the last read from the root
ensemble.
2014-04-23 16:11:07 -04:00
Andrew J. Stone
0cb1bd4357 check ring state for ensemble_remove_node 2014-04-23 15:47:43 -04:00
Kelly McLaughlin
6bb72e2747 Avoid failure in verify_counter_capabilities after node upgrade
Establish a new PB connection to the legacy node after it is upgraded
in order to avoid a failure. The PB connection may close if the node
upgrade takes too long and its reuse in such a case can lead to test
failure because use of the pid returns {error, disconnected} errors.
2014-04-23 09:49:15 -06:00
Kelly McLaughlin
274fc6648b Merge branch 'er/verify_dt_upgrade' 2014-04-23 06:57:32 -06:00
Kelly McLaughlin
f045c2e093 Call verify_counters during the upgrade 2014-04-23 06:55:06 -06:00
Andrew J. Stone
f171095ad2 A second test for node removal / kv ensemble changes 2014-04-23 00:08:04 -04:00
Andrew J. Stone
3a398b3010 ensemble_remove nodes k/v ensemble checks
Ensure that k/v ensembles reconfigure to exclude a leaving node before
that node transitions to exiting status.
2014-04-22 19:21:32 -04:00
Christopher Meiklejohn
09f7f88776 Add basic moving target stats test.
Use this as a platform to start testing reports of missing stats from
replication.
2014-04-22 10:38:33 +01:00
Christopher Meiklejohn
07b91fab36 Refactor test to assert downgrade.
When performing the test of object reformatting through replication,
assert that if we happen to downgrade the format we can still read the
keys which have been replicated.
2014-04-20 16:09:43 +00:00
Andrew J. Stone
d1420f6482 remove outdated print statements 2014-04-18 16:15:34 -04:00
Andrew J. Stone
2deb46b1e5 Test cluster state and root ensemble members after node leaving in ensemble_remove_node 2014-04-18 16:06:37 -04:00
Kelly McLaughlin
823dd2fe9c Wait for transfers to complete in replication2_pg:test_pg_proxy
Wait for transfers to complete in
replication2_pg:test_pg_proxy. Replication tests that test the n_val=1
request option can fail with insufficient_vnodes errors if the cluster
setup does not include waiting for transfers to complete. Change the
test_pg_proxy test case to wait until transfers complete on the "A"
and "B" clusters before proceeding.
2014-04-17 11:05:41 -06:00
Kelly McLaughlin
be61a1c338 Fix an error that can lead to failure of tests using replication2_pg
Fix an error that can lead to failure of tests using
replication2_pg:test_pg_proxy test case. A protocol buffers connection
is established to a node in the "B" cluster, the leader node from that
cluster is shut down, and then that protocol buffers connection is
used to exercise proxy_get. If the connection was established to the
former leader and that is subsequently shut down it can cause the test
to stall and eventually fail. This changes that test to establish a
new connection to a node remaining in the "B" cluster to use for the
proxy_get and prevents the test from stalling.
2014-04-16 17:38:18 -06:00
Andrew J. Stone
106f0608ae add ensemble_remove_node 2014-04-16 17:15:19 -04:00
John Daily
aa91baf273 Merge pull request #549 from basho/jrd-bucket-types-naming
Update tests for UTF-8 bucket types (and buckets)
2014-04-16 11:59:59 -04:00
Kelly McLaughlin
5b66c7a354 Add n_val to bucket type specificaitons 2014-04-15 15:08:23 -06:00
Kelly McLaughlin
75f5165078 Fix bug with assigment of LeaderB 2014-04-15 15:08:04 -06:00
Andrew J. Stone
8246b1a090 Force update ring in ensemble_util:build_cluster()
Once riak_ensemble_manager:enable() is called, we need to call
riak_core_ring_manager:force_update() so that the members will be
created and added to the ensembles trying to get a quorum. During ticks
in core, new members are created only if the ring has changed. There is
a race that can sometimes prevent the members from starting and thus the
quorum from being achieved indefinitely. This small change to the test
infrastructure resolves this issue, but it still requires fixing in
riak_core and/or riak_kv.
2014-04-15 16:06:47 -04:00
Andrew J. Stone
d0c7f2998e Call riak_core_manager:force_update() in test
repl_consistent_object_filter calls riak_ensemble_manager:enable() which
fails to bootstrap the ensemble because the ring has stabilized already.
An issue for this will be opened in riak_kv, but this quick fix will
allow the test to get beyond that point.
2014-04-15 15:49:36 -04:00
Kelly McLaughlin
aca372d627 Initial refactoring to use ensemble_util 2014-04-14 14:09:13 -06:00
Joseph Blomstedt
53e339c913 Merge pull request #573 from basho/jdb-ensemble-sync 2014-04-11 09:39:22 -07:00
Kelly McLaughlin
1651adbd36 Merge branch 'bugfix/fix-verify-busy-dist-port' 2014-04-11 09:14:32 -06:00
Joseph Blomstedt
da7b81b7b3 Merge pull request #569 from basho/jdb-ensemble-overhaul 2014-04-10 23:50:08 -07:00
Joseph Blomstedt
ab5a4a6e4a Add additional ensemble tests to test peer syncing
Add ensemble_basic4, ensemble_sync, and ensemble_interleave tests.

ensemble_sync tests the new AAE-based peer syncing logic. The test
checks various scenarios with different levels of data corruption.

ensemble_interleave tests a specific scenario where two peers become
corrupted one after the other. This tests the scenario where the
second peer becomes untrusted while the first peer may be syncing
with it.
2014-04-10 19:07:02 -07:00
John R. Daily
42265b9d43 Remove unnecessary sleep per @jrwest 2014-04-10 21:53:32 -04:00
John Daily
9d572c24f6 Merge pull request #555 from basho/jrd-security-encoding
Changes for UTF-8 support in users and groups (plus lower-case grant syntax)
2014-04-10 16:59:15 -04:00
Kelly McLaughlin
12cd13a575 Resolve failure of verify_busy_dist_port test on Riak 2.0
As of Riak 2.0 the vm.args zdbbl setting defaults to 32768. Previously
the default of 1024 was used.  Change the cause_bdp helper module for
the verify_busy_dist_port test to be more aggressive in order to
trigger a busy_dist_port message with the higher zdbbl setting.
2014-04-09 16:24:00 -06:00
Kelly McLaughlin
01eef1a556 Merge branch 'refactor/remove-dynammic-ring-force-replace' 2014-04-09 14:23:16 -06:00
Kelly McLaughlin
abad8c44ff Merge branch 'bugfix/replication-test-failures' 2014-04-09 13:58:42 -06:00
Kelly McLaughlin
b991660e67 Remove the force-replace test case from verify_dynamic_ring
There is a race condition that can cause the force-replace test case
in the verify_dynamic_ring test to fail. This issue is being tracked
by riak_core issue #570.  This changes replaces the force-replace
testing with another resize test. Once issue #570 is resolved this
change can be reverted.
2014-04-09 13:36:25 -06:00
Joseph Blomstedt
40f501641c Add basic riak_ensemble tests
Add ensemble_basic, ensemble_basic2, and ensemble_basic3 tests.

These tests test that Riak correctly generates proper consensus
groups, these groups reach quorum, handle leader failures, etc.

ensemble_basic3 tests basic consistent K/V API as well as behavior
during simple network partitions.
2014-04-08 17:41:11 -07:00
Christopher Meiklejohn
dcb7c18461 Adapt to use new clustering API. 2014-04-07 18:06:57 +00:00
Russell Brown
3ee9fe416d Remove extraneous sleep 2014-04-07 10:08:56 +01:00
Kelly McLaughlin
0a36f9974c Fix race conditions and fullsync failures in replication test
Fix some race conditions in the cluster leader helper functions. Also
re-initiate fullsync after a certain number of checks for
completion. V2 replication has problems where calling
riak_repl_console:start_fullsync is basically ignored and needs to be
retried.
2014-04-04 16:10:01 -06:00
Russell Brown
3999e849d8 Set dvv to true for default bucket under test 2014-04-04 14:25:50 +01:00
Christopher Meiklejohn
dd0581fe06 Provide user helper for running all of the tests. 2014-04-03 19:35:14 +00:00
Christopher Meiklejohn
6db48fc5d0 Adapt test for rtcloud/rtdev. 2014-04-03 19:17:39 +00:00
Christopher Meiklejohn
c6eb0d4827 Improve reliability of test.
Improve the reliability of the proxy_get test by asserting that
ownership transfer completes before killing the leader node.

Related to basho/riak_repl#352.
2014-04-02 14:58:41 -04:00
Joseph Blomstedt
1b7a65d1fc Merge pull request #544 from basho/feature/rtssh
Add rtcloud support; rtssh harness.
2014-03-31 14:54:05 -07:00
Eric Redmond
cfaf6a27cc Setup test for CRDTs upgrades, currently only 1.4 counters 2014-03-28 13:13:47 -07:00
Russell Brown
a7b698725e Merge pull request #556 from basho/bug/rdb/counter-repl-mult
Set allow_mult to default to true for clusters in test
2014-03-28 07:24:45 +00:00
Kelly McLaughlin
b106abb87f Address some replication test failures due to cluster race conditions
Change some of the helper functions in the repl_util module to handle
errors more sensibly so that cluster setup race conditions do not
cause unnecessary test failures.
2014-03-27 14:07:05 -06:00
Russell Brown
6d4b2ace5f Set allow_mult to default to true for clusters in test 2014-03-26 17:26:20 +00:00
Russell Brown
6fe9940c02 Use built in rt code for bucket type creation 2014-03-24 14:10:37 +00:00
John R. Daily
f4991c86d8 * grant/revoke no longer require all-caps
* Switch to a user name of "Hindi" in Devanagari to test protobuf unicode
* Turn "user" into a variable in http_security so we can test utf-8 usernames when we fix HTTP support for authentication of same
2014-03-21 01:20:12 -04: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
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 R. Daily
63762346ac Extend unicode bucket type tests 2014-03-13 17:37:22 -04:00
John R. Daily
0e9af1cead Add test for UTF-8 bucket types (and buckets) 2014-03-11 11:44:17 -04:00
Christopher Meiklejohn
5de495debd Fix differential typo. 2014-03-08 17:46:55 -08: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
lordnull
bf9525fbf6 Added test to ensure fssource's don't block repl status. 2014-03-04 15:28:34 -06:00
Christopher Meiklejohn
e57df6270d Ensure we load the intercept module remotely. 2014-03-04 13:21:22 -08:00
Christopher Meiklejohn
e0951a9609 Add benchmarking with latency support. 2014-02-28 13:04:21 -08: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
Christopher Meiklejohn
b7f303bf5b Remove assertions based on performance. 2014-02-26 13:43:54 -05:00
Christopher Meiklejohn
c08ce430f3 Use normalized API. 2014-02-24 11:56:54 -05:00
Christopher Meiklejohn
1a3367bcb5 Assert AAE fullsync replication is faster. 2014-02-24 10:27:09 -05: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
Christopher Meiklejohn
106401bad5 Run both keylist and aae.
Run, test, and time both the aae and keylist strategy of fullsync
replication.
2014-02-20 15:21:13 -05:00
Christopher Meiklejohn
92880a35ca Limit concurrency; disable allow_mult.
Limit the concurrency to one partition at a time, and ensure we do not
generate siblings when rewriting the smaller portion of the keyspace.
2014-02-20 14:58:22 -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
Christopher Meiklejohn
b5da7e4291 Further the fullsync test. 2014-02-20 03:54:38 +00: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
Christopher Meiklejohn
44d4424e41 WIP: Add first pass replication test for EC2. 2014-02-19 22:11:02 +00:00
Christopher Meiklejohn
1347ac91c1 Remove harness specific code.
Remove some harness specific code which isn't even really that
valuable at this point.
2014-02-19 22:10:32 +00: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
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
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
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
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
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
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 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
Andrew J. Stone
598863b3f7 list_keys overload check working 2014-01-27 15:25:02 -05:00
Andrew J. Stone
b4a07894b7 WIP test listing keys respods with {error, overload} 2014-01-27 15:25:01 -05:00
Christopher Meiklejohn
56a8efab16 Merge pull request #524 from basho/bugfix/csm/deadlocks
Add test detecting source deadlock.
2014-01-27 09:07:31 -08:00
Christopher Meiklejohn
9597d1e8d5 Merge pull request #520 from basho/bugfix/csm/ebloom
Add test to ensure modified objects replicate.
2014-01-27 08:58:14 -08:00
Andrew Thompson
074c73e8d9 Update test to enable security the 'new' way 2014-01-27 09:56:57 -05:00
Christopher Meiklejohn
8cbddf3552 Add test detecting source deadlock.
Add test which ensures that the AAE source worker doesn't deadlock when
waiting for responses from the process which is computing the hashtree
differences.

Unfortunately, this test uses timeouts because as the code currently
stands, I can't figure out a way to make it any cleaner.
2014-01-25 14:20:03 -05:00
Christopher Meiklejohn
70826fd605 Add test to ensure modified objects replicate.
Ensure that objects, when modified, actually replicate correctly to the
sink cluster.
2014-01-25 02:58:29 -05:00
Engel A. Sanchez
af3cff74d3 Bring test back to 1.4.7 glory 2014-01-24 20:30:22 -05:00
Dave Parfitt
06739aa86f Merge pull request #512 from basho/feature/dp/riak_admin_console_tests
Add riak_test to exercise riak-admin shell script
2014-01-24 13:44:17 -08:00
Christopher Meiklejohn
af343ee6f6 Fix verify_api_timeouts.
Fix verify_api_timeouts by taking siblings into account.
2014-01-24 13:14:35 -05:00
Jared Morrow
24619c638b Merge pull request #513 from basho/bugfix/sdc/allow-mult-default
Fix tests that used the wrong name for the riak.conf entry for allow_mult
2014-01-24 09:54:17 -08:00
Sean Cribbs
74851c6fc9 Fix renamed setting for cuttlefish_configuration test. 2014-01-23 14:15:37 -06:00
Christopher Meiklejohn
ba45350da3 Fix overlapping key ranges in replication test.
Fix overlapping key ranges which cause sibling generation because of
puts with no vclock.  Add additional checking to assert this is true.
2014-01-21 20:22:17 -05:00
Christopher Meiklejohn
cf515c14ea Add missing replication2_connection test from the 1.4 branch. 2014-01-21 00:17:34 -05:00