Commit Graph

1074 Commits

Author SHA1 Message Date
Micah Warren
9bb82dd642 Added test for always reduced objects. 2013-09-10 11:47:46 -05:00
Micah Warren
d244c11016 Added test for proxy get of reduced objects 2013-09-06 16:51:10 -05:00
Micah Warren
e0c1f55055 updated repl works test. 2013-09-06 14:59:32 -05:00
Micah Warren
3ab5e94b41 removed unneeded test. 2013-09-06 14:59:08 -05:00
Micah Warren
b7c97519e4 Added some precondition tests 2013-09-05 15:19:54 -05:00
Micah Warren
d36238dec4 Added reduced repl test.
Also moved some code that would make these tests easier to setup into
the repl_util module.
2013-08-29 14:49:41 -05:00
Christopher Meiklejohn
d3a8010e68 Merge pull request #363 from basho/csm-bring-current
Handle updated partitions resource with n_val information.
2013-08-26 13:58:32 -07:00
Christopher Meiklejohn
65e7943e14 Handle updated partitions resource with n_val information. 2013-08-26 12:54:44 -07:00
Ryan Zezeski
10f327c7e9 Merge pull request #359 from basho/rz-wait-for-cmd
Faster wait_for_cmd that preserves order
2013-08-21 09:02:48 -07:00
Ryan Zezeski
f91339a554 Faster wait_for_cmd that preserves order
Remove the receive clause for port data.  This can cause
`wait_for_cmd` to needlessly loop through all stdout msgs before
getting to the port exit.  By just doing selective recv on the exit
msg Erlang will implicit use the "save queue" and place the data msgs
back on the mailbox in the original order of arrival.  In fact, the
previous method could rearrange the stdout ordering.
2013-08-21 11:49:11 -04:00
Russell Brown
a422d41e1c Merge pull request #350 from basho/gh625-stream-timeout
Add test for streaming timeout message
2013-08-21 07:23:33 -07:00
Jon Anderson
03dafe2a42 Merge pull request #354 from basho/jra_overload_test
Test for RTQ mailbox overload handling
2013-08-21 06:52:16 -07:00
Joe DeVivo
0c33c1a88d Merge pull request #356 from basho/jd-cuttlefish
Now you can test cuttlefish
2013-08-20 13:53:42 -07:00
Joe DeVivo
142a79bcfd a comment here, a comment there 2013-08-20 13:53:13 -07:00
Andrew Thompson
e872ca313c Merge pull request #357 from basho/adt-staged-join
Use staged joins now that we don't need to test riak older than 1.2
2013-08-20 13:06:37 -07:00
Andrew Thompson
7807472eea Only use staged joins for build_cluster 2013-08-20 14:46:46 -04:00
Andrew Thompson
53c338ae55 Use staged joins now that we don't need to test riak older than 1.2
Using staged joins, when building a 4 node cluster, is about a minute
faster than doing 4 sequential joins due to the elimination of redundant
handoff.
2013-08-20 12:53:09 -04:00
Joe DeVivo
8973c76b1d gimme a mic spec 2013-08-20 08:43:45 -07:00
Joe DeVivo
b30161d91d Cuttlefish integration 2013-08-20 08:22:35 -07:00
evan
6229805cca Merge branch 'pevm-bad-data-test-master' 2013-08-19 09:27:56 -07:00
Jon Anderson
a2b7100e4e commented out reference to unused intercept 2013-08-19 11:33:36 -04:00
evan
9e14d31f87 tweak for riak_test version 2013-08-16 16:55:46 -07:00
evan
c09375f913 intial version of corruption filtering test 2013-08-16 11:27:25 -07:00
Christopher Meiklejohn
c110f6c310 Merge pull request #351 from basho/csm-control
Update test to be in parity with latest Riak Control.
2013-08-16 10:46:54 -07:00
Jon Anderson
85590f27f4 removed unused intercept references 2013-08-16 09:23:27 -04:00
Jon Anderson
3c9595c44d deleted unused intercept riak_repl2_rtsink_conn_intercepts.erl 2013-08-16 09:19:25 -04:00
Jon Anderson
8ccc95f36e cleaned up comments, output, etc 2013-08-16 08:51:48 -04:00
Jon Anderson
b77588f2b5 added overload_drop checking 2013-08-15 21:18:37 -04:00
Jon Anderson
6714fb21f0 fixed broken intercept, introduced first-time sleep 2013-08-15 17:55:04 -04:00
Jon Anderson
0808693a30 further work on overload test 2013-08-15 16:57:26 -04: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
Jon Anderson
3f5482d89a Riak Test to simulate overload condition where riak_repl2_rtq rmailbox fills, for testing traffic shedding fix 2013-08-14 17:22:45 -04:00
Russell Brown
1c790063dc Update test for 503 error response 2013-08-13 13:14:56 -04:00
Engel Sanchez
581ee66b48 Add coverage and webhooks to README 2013-08-12 14:09:39 -04:00
Engel Sanchez
d28012fbc5 Merge pull request #348 from basho/eas-add-webhooks
Add post-giddyup webhooks
2013-08-12 10:29:32 -07:00
Engel A. Sanchez
0797206ef5 Add post-giddyup webhooks
Each test result plus the related Giddy Up information is posted to each
webhook in the configuration. The first user is Bishop, so it can keep
track of tests as they happen and annoy the hell out of Engineering.
An example configuration:
```erlang
    ,{webhooks, [
                [{name, "Bishop"},
                 {url, "http://basho-engbot.herokuapp.com/"}]
                ]}
```
2013-08-12 12:48:56 -04:00
Christopher Meiklejohn
a40a5b3cd2 Merge pull request #347 from basho/csm-riak-control
Add Riak Control test.
2013-08-09 16:13:45 -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
Christopher Meiklejohn
0515f82247 Merge pull request #346 from basho/csm-update-control-test
Don't assume legacy, and use passed in FromVsn.
2013-08-08 14:01:57 -07:00
Russell Brown
016ab533d1 Add test for streaming timeout message
Fix streaming tests (stream param was not passes, was streaming the
inmemory index results)
2013-08-07 16:06:33 -04:00
Christopher Meiklejohn
09e982fea8 Don't assume legacy, and use passed in FromVsn. 2013-08-06 17:31:04 -07:00
Ryan Zezeski
a9906dcc91 Merge pull request #307 from basho/eas-riak-test-coverage
Add code coverage analysis to riak_test
2013-08-05 15:52:26 -07:00
Engel Sanchez
e7721e4d67 Merge pull request #345 from basho/eas-ix-reformat-ix-record-fix
Update PB get index call
2013-08-02 13:15:50 -07:00
Ryan Zezeski
216b68109a Merge pull request #344 from basho/jdb-capabilities-1.4
Update verify_capabilities for Riak 1.4/1.3/1.2
2013-08-02 13:12:30 -07:00
Engel A. Sanchez
0b1bee6506 Update PB get index call
Updated to use newer index results record like the other 2i tests. It
was failing before this as it was using the old tuple result format.
2013-08-02 15:15:17 -04:00
Joseph Blomstedt
d9c0f00cc7 Update verify_capabilities for Riak 1.4/1.3/1.2 2013-08-02 10:06:27 -07:00
Engel Sanchez
cb7cf8a93c Merge pull request #343 from basho/eas-fix-url-encode-in-2i
Replace naive URL encoding with ibrowse call
2013-08-02 09:22:45 -07:00
Engel A. Sanchez
1e78d7aae3 Replace naive URL encoding with ibrowse call
The verify_2i_limit tests was failing due to using the continuation code
in the URL without encoding.
2013-08-02 12:13:04 -04:00
Ryan Zezeski
e1318a3cfe Merge branch 'rz-riak-control-upgrade' 2013-07-31 17:31:05 -04:00
Ryan Zezeski
152f2743ba Move setup_harness call
This allows user to view logs from last verify run.
2013-07-31 17:30:16 -04:00