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
Ryan Zezeski
b7a694da99
Add ability to upgrade and update app cfg
...
Add the ability to upgrade node and update its app.config in one go.
This is useful when testing upgrade path on Yokozuna where the old
app.config should be copied over but modifications should also be made
before restarting the node.
2013-08-12 16:00:11 -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
Ryan Zezeski
8903f82bbe
Merge pull request #342 from basho/rz-riak-control-upgrade
...
Add upgrade test for Riak Control
2013-07-31 14:27:48 -07:00
Ryan Zezeski
a02ae3ed7d
Add sleep to give chance for node to crash
2013-07-31 16:46:20 -04:00
Ryan Zezeski
9e05b747f6
Add upgrade test for Riak Control
...
Some issues have been found when running a mixed cluster with Riak
Control enabled. This tests the typical upgrade scenario of a
customer and verifies that Riak Control at least doesn't crash any of
the nodes while in a mixed cluster state.
See https://github.com/basho/riak_control/pull/120
2013-07-31 14:35:50 -04:00
Russell Brown
ccd1021657
Merge pull request #341 from basho/gh610-2i-timeout
...
Add test for timeout of 2i queriess
2013-07-31 08:28:38 -07:00
Russell Brown
eed395f3fa
Merge pull request #340 from basho/gh611-eq-pagination
...
Test for riak_kv issue gh611
2013-07-31 07:59:46 -07:00
Engel A. Sanchez
7211565991
Improving 2i eq pagination test
...
Added same test for bucket and integer field query.
Fixed "Rest" part of PB check using the wrong query variable.
2013-07-31 10:40:47 -04:00
Ryan Zezeski
cb53f3b42f
Fix verify_2i_timeout
...
* My machine is too fast, changed timeout to 1ms.
* Fixed match of return from `http_query`.
* The proplists key is binary, not an atom (i.e. <<"keys">>).
2013-07-30 17:36:47 -04:00
Russell Brown
528cb88f07
Add HTTP timeout tests
2013-07-30 15:58:09 -04:00
Russell Brown
ba1d9e547e
Add test for timeout of 2i queriess
2013-07-29 15:44:42 -04:00
Russell Brown
f2c77ce2b6
Test for riak_kv issue gh611
...
Verify that pagination works for equals queries
2013-07-27 11:21:14 -04:00
Andrew Thompson
dfd0fc8b12
Merge pull request #338 from basho/adt-handoff_ttl
...
Add a test for handoff with TTL enabled
2013-07-24 12:40:25 -07:00
Andrew Thompson
277a8a4867
Add a test for handoff with TTL enabled
...
This test exposes a bug in riak_kv and will not currently pass.
2013-07-22 15:47:55 -04:00
Sean Cribbs
e903782de2
Merge remote-tracking branch 'origin/continuation-value-with-done'
...
Conflicts:
tests/loaded_upgrade_worker_sup.erl
2013-07-22 14:43:32 -05:00
Sean Cribbs
ee3cf1485e
Merge pull request #335 from basho/sdc-cs-harness-updates
...
Update Riak CS harness
2013-07-22 12:39:59 -07:00
Dave Parfitt
92a7175b06
Merge pull request #337 from basho/adt-r16-support
...
Make riak_test play nice with R16
2013-07-22 08:28:54 -07:00
Andrew Thompson
fa981d017c
Make riak_test play nice with R16
...
Atoms with dots in them need to be quoted, adjust the regex in
rebar.config.
2013-07-20 00:01:15 -04:00
Andrew Thompson
85fbf531e7
Merge pull request #336 from basho/adt-lager-2.0
...
Upgrade to lager 2.0 and remove some lager 2.0 API abuse
2013-07-19 09:51:10 -07:00
Sean Cribbs
3caec1e829
Better detect those erlang.log.* files by matching extensions differently.
2013-07-18 15:39:38 -05:00
Sean Cribbs
0e5325ac07
Add a "test_paths" option that can be used instead of the -d flag.
2013-07-18 15:09:32 -05:00
Sean Cribbs
34ef692d0e
Stop all the nodes in parallel
2013-07-18 15:09:13 -05:00
Sean Cribbs
bdb95a6fff
Include the leading subfolder in the artifact name.
2013-07-18 15:08:46 -05:00
Andrew Thompson
89d1979c60
Upgrade to lager 2.0 and remove some lager 2.0 API abuse
...
Riak, EE and CS all use lager 2.0 now, riak_test should too.
2013-07-18 16:08:33 -04:00
Sean Cribbs
978da19e67
RTCS has multiple "root" entries, skip them all.
2013-07-18 15:08:18 -05:00
Sean Cribbs
1a484f4bc8
Tweak the get_node_logs callback so that it actually gets logs.
2013-07-18 14:33:16 -05:00
Sean Cribbs
62d722f4af
Merge pull request #334 from basho/klm-fix-cs-version
...
Change get_version in rt_cs_dev harness to return proper version
2013-07-18 12:17:35 -07:00
Kelly McLaughlin
4e47ea03ef
Change get_version in rt_cs_dev harness to return proper version
...
Make the rt_cs_dev harness return the version of RiakCS to use instead
of the Riak version.
2013-07-18 10:51:19 -06:00
Joe DeVivo
529d21c3a7
Merge pull request #333 from basho/jd-2i-api-change
...
riak-erlang-client 2i api changed
2013-07-16 13:25:13 -07:00
Russell Brown
09e621de26
Change tests to use 2i results macros
2013-07-16 16:20:49 -04:00
Joe DeVivo
4693c530b3
riakc api changed, compensating
2013-07-16 11:29:12 -07:00