Commit Graph

2039 Commits

Author SHA1 Message Date
Sean Cribbs
fd086aa5bc Finished up format test.
This is currently failing, somehow fetching the map immediately after
updates on the upgrade, I'm getting the dict format.
2015-01-26 15:34:11 -06:00
Sean Cribbs
dea8a89160 Fetch maps after upgrade, checking that they match. 2015-01-24 11:49:18 -06:00
Sean Cribbs
af9fe7a63e WIP extending mixed-cluster test.
Still have not completed upgrade and feature-flag switch.

I changed the versions from atoms to "2.0.2" and "2.0.4", we can
bikeshed that with build/test czars on Monday.

Added some useful logging statements to the plain-upgrade test.

Removed unnecessary clean_cluster and systest_read calls.
2015-01-23 18:02:13 -06:00
Sean Cribbs
86202d010e Little tweak to use literal versions and binaries for keys. 2015-01-23 16:04:48 -06:00
Sean Cribbs
ca040bdaee Begin split of test into two parts, safe upgrade and mixed cluster 2015-01-23 14:09:48 -06:00
Russell Brown
7b4ffcbc18 Extend kv667 test for upgrade between 2.0.2/4/5
This test is getting Biig, and there is still a lot to add
(see comments at the end of the test.)

Maybe we should break it out into a few tests, and there are some
questions still.
2015-01-23 18:02:32 +00:00
Kazuhiro Suzuki
2d4286b735 Merge pull request #730 from basho/feature/update-cs-test-runner-for-cs-2.0
Update cs test runner for Riak CS 2.0
2015-01-23 15:09:00 +09:00
Kazuhiro Suzuki
5afa5853f0 ignore error when riak already stopped. 2015-01-23 01:46:07 +09:00
Russell Brown
49183d92b9 Update Chris's test to test nested sets and maps too 2015-01-21 16:27:44 +00:00
Kazuhiro Suzuki
b8753eeda9 remove redundant codes to set backend in rt_dev_cs. 2015-01-21 22:49:35 +09:00
Christopher Meiklejohn
569a76d490 Add riak_kv#667 reproducer. 2015-01-20 18:09:20 +01:00
Sean Cribbs
bd69bab814 Merge pull request #664 from basho/lrb-readme-updates
Improve README and other minor tweaks.
2015-01-20 09:41:53 -06:00
Luke Bakken
bc1507b4ad Improve README and other minor tweaks.
Rather than suggest editing the bootstrap scripts we should recommend
setting environment variables to point to existing Erlang installations,
if present.

Also updated the build versions to 2.0.0rc1 and 1.4.10
2015-01-20 07:26:48 -08:00
Russell Brown
c1b12f5069 Merge pull request #719 from basho/rdb/gh-kv679
Riak Tests for scenarios of basho/riak_kv#679
2015-01-16 13:35:00 +00:00
Russell Brown
ccb5af778b remove test for unfixed case 2015-01-15 17:19:41 +00:00
Russell Brown
3657c57bac Address review comments
Remove those timers and other remnants of flailing when first
trying to write tests.
2015-01-15 16:09:02 +00:00
Andrew J. Stone
64f784e1f8 bump meck to 0.8.2 2015-01-09 19:37:25 -05:00
Andrew J. Stone
a01438a1f0 allow any meck version string in rebar.config 2015-01-09 19:06:52 -05:00
Sean Cribbs
e270f32b84 Merge pull request #718 from basho/jsb/check_all_stat_keys
Verify the list of stats keys is complete
2015-01-09 09:56:38 -06:00
John Burwell
a37832d7f9 Verify the list of HTTP stats keys is complete
* Checks the list of stats keys returned from the HTTP endpoint
    is complete -- delineating between riak and riak_ee.  The test will
    fail if the list returned from the HTTP endpoint does not exactly match
    the expected list.  This behavior acts as a forcing function to ensure
    that the expected list is properly maintained as stats are added and
    removed.
    * Modifies reset-current-env to properly clean dependencies when a
    full clean is requested and remove the current directory in the
    target test instance.
    * Adds logging to verify_riak_stats to explain the addition steps
    being performed
    * Adds rt:product/1 to determine whether a node is running riak,
    riak_ee, or riak_cs
    * Adds tools.mk support and eunit scaffolding to rebar.config
    * Modifies reset-current-env.sh to remove the current directory in
    the target test instance
2015-01-08 17:23:25 -05:00
John Burwell
f98b3aed87 Merge pull request #713 from uwiger/uw-cmp-http-and-console-stats
Verify that the stats in riak-admin status match those from the HTTP endpoint
2015-01-06 15:02:01 -05:00
Andrew J. Stone
a28f70eb1a Merge pull request #720 from basho/bugfix/ensemble_sync_partition_error
Fix partition issue in ensemble_sync
2015-01-05 16:30:08 -05:00
Andrew J. Stone
70da1fd2f9 separate some folds out of partition/2 in ensemble_sync for clarity 2015-01-05 15:42:26 -05:00
Russell Brown
d86d122308 WIP 2015-01-02 09:02:13 +00:00
Russell Brown
a1af1140f0 WIP data loss test was failing for the wrong reason
add some debugging log out
2015-01-02 09:02:13 +00:00
Russell Brown
8cbec21a5d WIP Kv679 tests
Dataloss at coordinator
Dataloss at coordinator with an old clock repaired
Vnode id's not unique
2015-01-02 09:02:13 +00:00
Russell Brown
87afd498e6 WIP 2015-01-02 09:02:13 +00:00
Russell Brown
6097bda909 WIP kv679 tombstone test A-B-C, crash before reap 2015-01-02 09:02:13 +00:00
Russell Brown
a29d3c3494 WIP kv679 doomstone tests 2015-01-02 09:02:13 +00:00
Russell Brown
4f7e9e17af WIP make the test fail 2015-01-02 09:02:13 +00:00
Russell Brown
40882ea81d WIP remove voodoo code, add inactivity timeout 2015-01-02 09:02:13 +00:00
Russell Brown
aece28adc9 WIP kv679 tombstone-doomstone-boomstone test 2015-01-02 09:02:12 +00:00
Sean Cribbs
d46928bea2 Merge pull request #723 from basho/sdc/bugfix/http-bucket-types-harden
Wrap all list_keys and list_buckets calls with wait_until
2014-12-31 10:35:30 -06:00
John Daily
5a33151f9a Merge pull request #724 from basho/bugfix/jrd/verify-handoff-mixed
Expected output changed as of PR#678
2014-12-31 11:34:51 -05:00
John R. Daily
9fdf2ac1f4 Expected output changed as of PR#678 2014-12-31 10:56:47 -05:00
Sean Cribbs
a67140a1b9 Wrap all list_keys and list_buckets calls with wait_until
Because list-keys and list-buckets use coverage, we might hit latent
replicas depending on the coverage plan. This gives each call some extra
tries to complete successfully.
2014-12-31 09:27:23 -06:00
Sean Cribbs
4ca97faaee Merge pull request #721 from basho/bugfix/sdc/pr-pw-bad-response
Fix intercepts to work with new do_put return value.
2014-12-31 09:10:37 -06:00
Sean Cribbs
a90a988262 Fix intercepts to work with new do_put return value.
c.f. basho/riak_kv#1047 basho/riak_kv#1046
2014-12-30 16:35:32 -06:00
Andrew J. Stone
043baabf3f Fix partition issue in ensemble_sync
It was previously possible for the 'minority' network partition to
become the majority network partition by a naive network partitioning
strategy. Previously, when a preference list of 5 keyspace partitions
was created on only four distinct nodes, it became possible for a 2 node
'minority' network partition group to actually have a majority of
keyspace partitions because 2 keyspace partitions were assigned to 1
node in the 'minority' group. This was fixed so that the 'majority'
group now always has a majority of keyspace partitions by preventing
nodes with greater than 1 keyspace partition from becoming part of the
'minority' group.
2014-12-30 15:21:18 -05:00
Sean Cribbs
1af1b32937 Merge pull request #717 from basho/bugfix/sdc/cert-name-collisions
Fix pb_security failures
2014-12-29 16:24:49 -06:00
Sean Cribbs
41b60d0328 Make sure the httpd started exits with the test.
Now green when run in sequence:

Test Results:
pb_cipher_suites-bitcask: pass
pb_security-bitcask     : pass
---------------------------------------------
0 Tests Failed
2 Tests Passed
That's 100.0% for those keeping score
2014-12-29 14:08:36 -06:00
Andrew J. Stone
1addf5207f Merge pull request #716 from basho/bugfix/ensemble_basic3
Use result of fold in ensemble_basic3
2014-12-24 12:57:52 -05:00
Engel A. Sanchez
fce71e3311 Merge pull request #715 from basho/bugfix/sdc/dvv-race
Fix race condition in verify_dvv_repl.
2014-12-23 17:03:43 -05:00
Engel A. Sanchez
0328b4e7d7 Fix failure on slow replication
This changes the test assertion so that it retries fetching the value
from the second cluster until it is the expected value, at which point
the test will either pass if the sibling count is reasonable or fail if
it is too damn high.
2014-12-23 16:41:59 -05:00
Andrew J. Stone
32d90ca13a Don't try to resume pids that don't exist 2014-12-23 15:59:37 -05:00
Andrew J. Stone
7d097080d3 Use result of fold in ensemble_basic3
When resuming vnodes we need the proper pid from the previous suspend.
Use the result of the fold to get the right pids.
2014-12-23 15:50:03 -05:00
Sean Cribbs
abfa0ebf8a Adjust test to ensure that essential concurrency =< n_val 2014-12-23 14:15:55 -06:00
Sean Cribbs
ca44485d1f Fix race condition in verify_dvv_repl.
Fetch the sink object on each iteration of the wait_until, just in case
that the entire set of siblings didn't make it across the repl link.
This also gives read-repair a chance to happen, in case the version the
sink wrote didn't make it to all replicas.
2014-12-23 10:51:50 -06:00
Engel A. Sanchez
853dd06f88 Merge pull request #714 from basho/bugfix/repl-tests-should-freaking-wait-for-riak-repl-service
Ensure riak_repl service is up across the board
2014-12-18 17:42:58 -05:00
Engel A. Sanchez
556cb7210c Ensure riak_repl service is up across the board
Trying to use the repl features before newly started nodes have
riak_repl completely initialized leads to all sorts of nasty crashes and
noise. Frequently it makes fullsync stuck forever, which makes a lot of
the tests fail.

This also tweaks the AAE fullsync tests to remove assumptions about
failure stats when AAE transient errors occur. The behavior in the
handling of those errors has changed recently with the introduction of
soft exits.
2014-12-18 16:07:00 -05:00