Commit Graph

1179 Commits

Author SHA1 Message Date
Doug Rohrer
cf510639e8 Merge pull request #772 from basho/bugfix/BTA-183
Bugfix/BTA-183
2015-04-08 19:20:41 -04:00
Doug Rohrer
8f3a7aa7a3 Merge pull request #774 from basho/bugfix/bta-175
Fix race condition in force replace for verify_staged_clusters
2015-04-08 19:17:28 -04:00
Andrew J. Stone
b0bc89e39f Fix race condition in force replace for verify_staged_clusters 2015-04-08 18:58:59 -04:00
Doug Rohrer
fae0fe3bc8 Added wait_until_ready after upgrade, as it appears the HTTP interface
on Previous was not always available as soon as the upgrade was
complete.
2015-04-08 17:34:53 -04:00
Doug Rohrer
13598bc5b4 Merge pull request #771 from basho/bugfix/remove-obsolete-repl_reduced
Removing obsolete repl_reduced test.
2015-04-08 16:33:27 -04:00
Fred Dushin
742cbc24b9 Relaxed the capability check to make it a subset check. 2015-04-08 16:30:52 -04:00
Fred Dushin
aa4ab8405f Fixed expected capabilities on previous node 2015-04-08 15:13:48 -04:00
Fred Dushin
2fa259ea08 Fixed capability tests based on changes to previous and legacy versions against which we are testing. 2015-04-08 15:02:24 -04:00
Doug Rohrer
ad91ce48b4 Removing obsolete repl_reduced test, as the feature for which it was
written will never be shipped. Fixes BTA-167 and perhaps other intermittent failures.
2015-04-08 13:27:30 -04:00
Zeeshan Lakhani
be94f6aa71 * refactor yz_handoff test to use only rtisms
* make test a bit swifter by removing *another* leave/add and a coupel config settings
2015-04-08 09:44:49 -04:00
Doug Rohrer
19ea9a69bb Merge pull request #765 from basho/bugfix/BTA-172-verify_dt_upgrade
Fix BTA-172.
2015-04-07 09:36:03 -04:00
Sean Cribbs
3c3c7313a2 Fix BTA-172.
Previous to 2.0, the CRDT capability was exactly `[pncounter]`. However,
when upgrading from 2.0 to 2.1, the capability *includes* `pncounter`
but is not exactly equal, resulting in a hang in
`populate_counters/1`. We just want the test to be sure that it is
capable of `pncounter`, not exactly equal, which will make the test
continue on 2.0+ clusters.
2015-04-06 16:21:15 -05:00
Sean Cribbs
53d43d6aa1 Merge pull request #753 from basho/nem-ensemble-byzantine-waitfor-reads
Use rt:waitfor on reads in ensemble-byzantine test
2015-04-06 15:14:27 -05:00
Sean Cribbs
d4f3e569f3 Merge pull request #761 from basho/bugfix/BTA-174-verify_riak_stats
Fix BTA-174
2015-04-06 14:57:13 -05:00
Sean Cribbs
40a583a798 Sort stats names in product_stats/1 2015-04-06 11:25:25 -05:00
Sean Cribbs
f5060e8761 Fix BTA-174
Failure seen at
http://giddyup.basho.com/#/projects/riak_ee/scorecards/120/120-157-verify_riak_stats-centos-6-64/89645

* Typo in one stat name was corrected since
  2.0.5 (search_index_throughtput_one -> search_index_throughput_one)
* write_once code path added its own stats.
* Adjusted assertion at comparison point so that the differences appear
  in the assertion failure as well as the logs.
* Sorted the entries in the list of stats.
* Cleaned up trailing whitespace.
2015-04-06 11:16:14 -05:00
Alex Berghage
5c5931b567 Added explicit wait_for_service riak_pipe on pipe* tests...
... which didn't call the 2-arity version of deploy_nodes. NB
the /2 version implicitly waits on whatever services are specified.
2015-04-06 10:36:06 -05:00
Sean Cribbs
35fe241044 Merge pull request #758 from basho/feature/fd/RIAK-1534
Feature/fd/riak 1534
2015-04-01 18:30:01 -05:00
Fred Dushin
39ce8866be Fixed lingering usage of "fast_path" in overload test 2015-04-01 19:00:53 -04:00
Fred Dushin
d34ff09f8e Updated write_once handoff test to use riak_kv_w1c_put_req_v1 record, and relaxed check in test to avoid potential race condition. 2015-04-01 16:56:36 -04:00
Fred Dushin
5f547a8364 Name changes. Test is still broken though, due to use of #riak_kv_w1c_put_req_v1 record. 2015-03-27 20:57:09 -04:00
Fred Dushin
57638a86a3 Name change fast_path -> write_once 2015-03-27 20:38:47 -04:00
Fred Dushin
0a1c307bda Merge branch 'feature/fd/RIAK-1534' of github.com:basho/riak_test into feature/fd/RIAK-1534 2015-03-27 16:11:44 -04:00
Fred Dushin
444115aa93 Fixed tests to check improved error handling in put code path. 2015-03-27 16:11:38 -04:00
Andrew J. Stone
44d8d6fd65 support fast path in overload test 2015-03-27 16:00:34 -04:00
Andrew J. Stone
43ffdffc04 add verify_handoff_fastpath 2015-03-26 18:00:53 -04:00
Nick Marino
8e2b99d6e8 Use rt:waitfor on reads in ensemble-byzantine test
There were some race conditions we found in this test where reads
to an ensemble may fail for a brief period of time after recovery. By
using the waitfor function, we ensure that the tests will still pass as
long as things eventually recover and start working properly again.
2015-03-23 13:12:46 -04:00
Cuyler Jones
a1bd419973 Fixed typo; Used exact error message and module name 2015-03-19 14:09:05 -07:00
Cuyler Jones
9f2f3da1c1 Added notes about rare race condition to test 2015-03-19 11:40:45 -07:00
Zeeshan Lakhani
96675d7a49 Merge pull request #745 from basho/zl/remove-wait-for-index-need-in-yz-tests-because-sync
remove the need for wait_for_index on these tests, as we move to sync cr...
2015-03-18 13:32:02 -04:00
Fred Dushin
adb29379d6 Improved testing around timeout conditions. 2015-03-16 21:53:49 -04:00
Ted Burghart
77f2a561b3 Merge pull request #750 from basho/bugfix/reorder-replication2-ssl-tests
Restructured how connectivity tests are configured and run [RIAK-1608].
2015-03-14 07:47:36 -04:00
Brett Hazen
c5259019a3 Merge pull request #749 from basho/bugfix/bch/tweak-pb_security
Remove code:which/1 from pb_security and http_security
2015-03-13 15:39:00 -06:00
Ted Burghart
5c9169fe49 Fixed typos.
Reordered tests to use lighter configurations.
Added test for mismatched ACL.
Added timeout override.
2015-03-13 07:09:05 -04:00
Ted Burghart
ab75a72b43 Restructured how connectivity tests are configured and run [RIAK-1608].
Due to leftover configuration attributes from prior tests within this module (see RIAK-1607), the order of tests has to be managed.  In order to accomplish this and be able to see exactly what configurations are used for each test, configuration blocks have been more directly associated with each connectivity test.
2015-03-12 15:07:36 -04:00
Brett Hazen
41d0be08ac While we re removing code:which/1; also do it for http_security 2015-03-11 21:29:55 -06:00
Brett Hazen
19a8c67c3c Use code:get_object_code/1 instead of code:which/1 in pb_security 2015-03-11 18:13:40 -06:00
Nick Marino
e2c8ec77ec Add xmerl_version to the list of expected stats
This fixes some failures we were seeing with the verify_riak_stats test.
2015-03-11 16:48:22 -04:00
Fred Dushin
1dcf8ccea0 Weakened the test for cluster connectedness to ensure the set of specified nodes are a subset of all erlang:nodes() calls on all hosts (instead of being the same) 2015-03-10 12:17:21 -04:00
Fred Dushin
b0765cd175 Added a test for asynchronous puts.
This test requires creating two clusters in the test.  Because one of the clusters is partitioned during the test, the two nodes must first be partitioned, in order to not confuse any of the healing logic in riak_test.
2015-03-10 11:23:40 -04:00
Zeeshan Lakhani
04d231d078 remove the need for wait_for_index on these tests, as we move to sync creation of search indexes in yz 2015-03-09 14:17:25 -04:00
Fred Dushin
2c788a148b Added test for strict quorum puts 2015-03-09 10:07:19 -04:00
Ted Burghart
452747413f Add test that always passes.
When included in an automatically generated list of tests that may only contain one test, ensures riak_test will continue if that test fails.
2015-03-07 07:57:10 -05:00
Fred Dushin
42716994fe Added tests for primary writes (pw) and "random write wins" scenarios. 2015-03-06 21:51:26 -05:00
Fred Dushin
85bca5a57a cleanup 2015-03-05 20:12:24 -05:00
Zeeshan Lakhani
510431be8f Merge pull request #738 from basho/newtest/zl/yz_handoff
YZ Handoff Riak Test [JIRA: RIAK-1546]
2015-03-04 15:19:32 -05:00
Cuyler Jones
c05aed83f2 Merge pull request #740 from basho/refactor/replication2
Refactor/replication2
2015-03-04 10:37:48 -08:00
Zeeshan Lakhani
d36ec68fa7 handoff test for lost documents using riak_admin to make sure issue uses same env as previously seen issue 2015-03-04 05:42:47 -05:00
Fred Dushin
a36c7b43d3 stub test for immutable puts 2015-03-02 15:37:55 -05:00
Cuyler Jones
ab61070927 Fixed parenthetical spacing and a few other text spacing issues 2015-02-28 21:34:38 -07:00