Commit Graph

1029 Commits

Author SHA1 Message Date
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
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
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
Russell Brown
7b1382df40 Update tests to match changes to 2i API in riakc 2013-07-12 15:34:08 -04:00
Jared Morrow
b2525b228a Merge pull request #331 from basho/jrw-verify-index-reformat-14fix
update verify_secondary_index_reformat for 1.4
2013-07-03 16:18:49 -07:00
Andrew Thompson
b289f6df1f Merge pull request #330 from basho/adt-partition-count-fix
Verify the partition count is correct only on 1.4 and later
2013-07-03 14:14:38 -07:00
Jordan West
a998e30587 update verify_secondary_index_reformat for 1.4
* change to upgrade from legacy node. previous version node now supports
  correct index format
* adjust for change in `get_index` in pb client
2013-07-03 12:18:13 -07:00
Andrew Thompson
f6d0e7fb6d Verify the partition count is correct only on 1.4 and later
1.3 is buggy, so the check will always fail.
2013-07-03 13:57:33 -04:00
Russell Brown
046cfd01e8 Merge pull request #329 from basho/fix_counter_test
Fix counter test, broken when API for wait_until changed
2013-07-03 08:53:32 -07:00
Russell Brown
ddd4db36cc Fix counter test, broken when API for wait_until changed
This is a quick hack fix, really the test needs a re-write to
use the erlang http and pb clients
2013-07-03 10:57:21 -04:00
Brett Hazen
a8bd84d258 Merge pull request #296 from basho/bch-update-1.4
Update tests for Riak 1.4.0
2013-07-03 07:20:33 -07:00
Brett Hazen
8ab77185a9 Update previous version to 1.3.2 2013-07-03 09:47:26 +01:00
Dave Parfitt
b8327276c5 Merge pull request #327 from basho/dip_cs_options
retry proxy_get test if custom options fail
2013-07-02 10:32:47 -07:00
Dave Parfitt
5d5b6074c2 check for batch matches on retry 2013-07-02 13:09:48 -04:00
Dave Parfitt
58982f9aa7 clean up assert for get w/ options 2013-07-02 12:52:32 -04:00
Dave Parfitt
99d716c471 retain n_val option on notfound 2013-07-02 12:40:39 -04:00
Dave Parfitt
5d763a818d retry if custom options fail 2013-07-02 09:11:07 -04:00