Commit Graph

1982 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Andrew J. Stone
44d18d1a87 Remove magic number for overload test 2015-02-11 17:54:12 -05:00
Doug Rohrer
965522c705 Better support for wildcard certificates:
- Update make_certs to support wildcard certificates by passing an additional Path parameter.
- add replication2_ssl test to ensure using wildcard certificates works after PR to riak_core_ssl_util.
2015-02-11 16:27:39 -05:00
Alex Berghage
80d04003f0 Merge pull request #736 from basho/bugfix/verify_dt_converge_flag_enable
Change verify_dt_converge to use riakc_flag:enable(F) rather than disable.
2015-02-11 12:16:11 -05:00
Doug Rohrer
04d54cb810 Change verify_dt_converge to use riakc_flag:enable(F) rather than disable. This will work
even in the rare and pathological case where the cluster is partitioned before all 3 nodes
have received the update. riakc_flag:disable(F) requires context, which isn’t there in the 
new map that would be created on the side of the partition with no data.
2015-02-11 10:47:35 -05:00
Christopher Meiklejohn
b3de6d2678 Merge pull request #735 from basho/bugfix/advanced_config
Ensure that setting advanced config on broken path does not cause an err...
2015-02-10 22:22:03 -05:00
Andrew J. Stone
d7168f47e6 Ensure that setting advanced config on broken path does not cause an error 2015-02-10 22:19:06 -05:00
Alex Berghage
a9bef3c0a7 Rolled back change to test_vnode_protection threshold.
This test's a little confused in the sources as-is since it prints
like it's based on the number of requests, even though the actual
comparison is done against a function of THRESHOLD. I've reverted
to the comparison used currently, since it looks to me like this
test should really expect to have ~NUM_REQUESTS processes, and a
vnode queue pretty close to THRESHOLD. I'd appreciate review here
though, particularly if anyone recalls the original intent of
these comparison numbers.
2015-02-10 21:15:23 -05:00
Alex Berghage
ec562e9461 Fixed predicate print formatter (was ~w, now ~p) 2015-02-10 21:11:32 -05:00
Alex Berghage
a7258f4ed7 Loosened criteria for successful overload test.
Previously we'd used a sort of fuzzy 'metric' where we expect the
number of successful requests/fsms to be less than some fudge
factor over the overload threshold. This tends to kick up spurious
failures on the test board without offering much more in the way
of assurances about overload's functionality.

This change instead bases test success on the number of requests
only, not the threshold — if some amount of work was shed at all
we consider that a passing test.

In the future we should revisit this and change the request
accounting machinery to just explicitly track denials instead of
fsm processes / vnode queue depth.
2015-02-10 20:49:16 -05:00
Alex Berghage
e0921b1bf1 Reduced repetition in tests/overload predicates 2015-02-10 20:44:09 -05:00
Christopher Meiklejohn
92001ba40a Merge pull request #733 from basho/bugfix/csm/resolve-error-stats
Resolve #731.
2015-02-09 16:57:21 -05:00
Christopher Meiklejohn
2179361bb3 Resolve incorrect guard. 2015-02-09 16:56:30 -05:00
Ulf Wiger
36f80415e1 add vnode_get_fsm_time_* stats 2015-02-09 22:49:04 +01:00
Russell Brown
9efa9602d0 Merge pull request #728 from basho/kv667
Test for basho/riak#667, read pre 2.0.4 sets/maps
2015-01-29 14:27:50 +00:00
Russell Brown
bc8a3b240b Change env var name 2015-01-27 18:00:48 +00:00
Russell Brown
d22fbfbdc7 Persuade rtdev harness to set advanced.config variables
In the case that no advanced.config file exists (everycase!) rt
would not add any advanced config settings to the conf.

This PR teaches rtdev to create an advanced.comfig file if none exists
so that tests may set advanced config.

In this case we set ring_size and also the `crdt_mixed_versions` app env
2015-01-27 09:53:15 +00:00
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