Commit Graph

2015 Commits

Author SHA1 Message Date
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
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
8ae1ea76b7 Merge pull request #754 from loucash/loucash-set_proper_exit_status
Set proper exit status
2015-04-06 11:47:33 -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
9972862180 Merge pull request #760 from basho/bugfix/pipe-tests-explicitly-wait-for-pipe-service
Added explicit wait_for_service riak_pipe on pipe* tests
2015-04-06 10:55:17 -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
Łukasz Biedrycki
624b5d9075 Replace length and lists:filter with list comprehension.
cc @seancribbs
2015-04-06 16:31:42 +01:00
Sean Cribbs
2151fa6914 Merge pull request #756 from basho/fix/az/safeguard-against-accidentally-any-parent-dir-under-git
safeguard against accidentally any parent dir under git
2015-04-01 18:30:19 -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
Andrei Zavada
6a9d81997d safeguard against accidentally any parent dir under git 2015-04-01 18:34:46 +03: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
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