Commit Graph

2255 Commits

Author SHA1 Message Date
Andrei Zavada
6a9d81997d safeguard against accidentally any parent dir under git 2015-04-01 18:34:46 +03:00
Micah Warren
8b4b8978e6 Added a configurable wait before initial jmx_dump 2015-03-31 13:21:25 -05:00
Matt Brender
39af04cec0 Merge pull request #751 from basho/test_cleanup/pipe_verify_handoff_blocking
Added notes about rare race condition to test
2015-03-31 11:33:26 -04:00
Fred Dushin
0de66ab808 Exclude IntelliJ detritus from git status 2015-03-30 08:59:16 -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
Łukasz Biedrycki
6d09030d03 Set proper exit status 2015-03-26 17:07:55 +00: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
Nick Marino
41e5772f27 Merge pull request #746 from basho/nem-stats-xmerl-version
Add xmerl_version to the list of expected stats
2015-03-12 10:24:23 -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
Ted Burghart
63508d22f1 Merge pull request #744 from basho/tedb-always-pass-test
Add test that always passes. [JIRA: RIAK-1588]
2015-03-09 13:54:12 -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
Shunichi Shinohara
91724b2b10 Merge pull request #741 from basho/ss-cs-build-type-assertion
Assert build_type to prevent setup mistakes
2015-03-06 12:08:17 +09: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
Christopher Meiklejohn
f3293b09d7 Merge pull request #742 from darach/de_bugfix_cover_wait_pingable_before_start
Ensure cover:start is called after verifying node is pingable
2015-03-02 19:52:37 -05:00
Darach Ennis
8d7b07116c Ensure cover:start is called after verifying node is pingable 2015-03-03 00:28:44 +00: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
Cuyler Jones
82d9d57a24 Fixed spacing to adhere to Basho guidelines. 2015-02-28 21:24:59 -07:00
Shunichi Shinohara
dad2c294d2 Assert build_type to prevent setup mistakes
Riak CS uses OS environment variable to choose build type, oss or ee.
On the other hand, riak_test config includes build_type to express
test target. This commit adds assertion that cs_current and cs_previous
is actually build as build_type indicates.
2015-02-26 15:20:53 +09:00
Cuyler Jones
c6d27d5a99 Replaced start up process with build_clusters; Removed some lingering refactoring cruft. 2015-02-25 10:23:33 -08:00
Doug Rohrer
9f116ab088 Merge pull request #737 from basho/feature/support_wildcard_certs_in_tests
Better support for wildcard certificates
- riak_core#701 is now merged, so merging tests.
2015-02-25 11:54:27 -05:00
Cuyler Jones
ef0581cefb Code clean up and small node logging additions 2015-02-24 14:48:58 -08:00
Cuyler Jones
57fde811ef Refactored Replication 2 into compartmentalized tests with documentation. Removed superfluous code. 2015-02-24 14:41:38 -08:00
Christopher Meiklejohn
658255c4db Merge pull request #739 from basho/bugfix/error_when_string_version_not_found
Fix error printing for non-atom version names (versions are term()s, not only atoms).
2015-02-17 13:52:15 -05:00
Doug Rohrer
abe96250b8 Fix error printing for non-atom version names (versions are term()s). 2015-02-17 13:33:13 -05:00
Doug Rohrer
137a11c690 Address review comments & add more tests
- Change Path -> DirName in make_certs
- Added both more basic and more advanced tests with wildcard certs
2015-02-12 08:40:18 -05:00
Andrew J. Stone
42e7788f9d Merge pull request #734 from basho/bugfix/demystify-overload
Refactor tests/overload to use less magical-number comparisons
2015-02-11 17:57:44 -05:00