Commit Graph

11 Commits

Author SHA1 Message Date
Doug Rohrer
0e3d59cd5e Update riak_control to fix issues with not waiting for communications to
complete before results are valid. Remove invalid results from
valid_status. Fix lager:info call.
2016-06-09 13:27:43 -04:00
Brett Hazen
be89186090 Fix riak_control to check the correct devrel version 2015-08-12 19:50:50 -06:00
Brett Hazen
0122a475e8 Merge pull request #817 from basho/bugfix/bch/update_riak_control_versions
Fix riak_control and riak_control_authentication for Riak 2.1+
2015-08-12 15:20:39 -06:00
Christopher Meiklejohn
32b6a598e9 Resolve riak_control failures.
Resolve failures with cuttlefish configuration changes in Riak 2.0.

Remove riak_control_upgrade, since riak_control should cover those use
cases completely.
2014-05-08 12:40:13 -04:00
Christopher Meiklejohn
b41f2b440a Ensure we wait long enough for Riak Control to start.
Wait until both the Riak Control gen_server has been registered, and the
webmachine routes have been added to the dispatcher to ensure that Riak
Control is able to service requests to prevent races between the test,
and application initialization.
2013-10-21 19:21:53 -04:00
Christopher Meiklejohn
6bf3479877 Deprecate legacy 1.2-style control. 2013-09-30 18:57:06 -04:00
Christopher Meiklejohn
fc966e16b3 Merge pull request #365 from basho/csm-resolve-races
Ensure riak_control starts.
2013-08-28 14:32:39 -07:00
Christopher Meiklejohn
be0ec088de Ensure riak_control starts.
Since we can't use riak_core node watcher service, we need to block
until the gen_server initializes, is available, and routes have been
added to the webmachine dispatcher.
2013-08-26 19:52:10 -07:00
Christopher Meiklejohn
65e7943e14 Handle updated partitions resource with n_val information. 2013-08-26 12:54:44 -07:00
Christopher Meiklejohn
3a13cb7068 Update test to be in parity with latest Riak Control.
We no longer need to test for the incompatible status in vnodes, because
the ring page no longer requires that information and can derive all
state from the ring, not rpc.
2013-08-15 10:06:17 -07:00
Christopher Meiklejohn
3751d73c60 Add Riak Control test.
This test produces *failing* cases for Riak Control against to cut 1.4.1
release, but passes when run against a tentative master-based 1.4.2
build.

This test currently covers:

* Rolling upgrade of all nodes, while every node runs control.
* Verifies nodes do not fail during the rolling upgrade.
* Verifies two releases back.
* Verifies that 1.3+ resources return properly and deserialize.
* Verifies that 1.2+ resources return properly and deserialize.
* Intermediate and final state verification of the response JSON from
  Riak Control.
* Verify convergence of capability.

This test does not cover:

* Riak 1.2 node ping, stats, and fallback resources, which are not used
  by the user interface.
* Parsing the Riak 1.2 response to ensure values return the correct
  state.
2013-08-08 15:20:31 -07:00