Commit Graph

29 Commits

Author SHA1 Message Date
John R. Daily
e3491ab2f1 Updates for new 2i/return_body=true PB messages 2015-10-06 15:34:28 -04:00
John R. Daily
71593e3bdd Values should be binary, expose URL generation, and some collateral whitespace cleanup 2015-07-31 10:32:26 -04:00
Engel A. Sanchez
20026163a4 Test 2i features added in 1.4.4
* 2i AAE test
* term_regex 2i filter tests
* pagination sort tests
* add mixed cluster 2i test
2013-12-20 10:18:07 -05:00
Engel A. Sanchez
b0fc015e30 Exercise 2i sort parameter
The default when sort is off is undefined, but this test at least tries
to verify that results are sorted when it's set or defaults to true.
Notice that sort order is not key, but rather <2i term that matched>/key
2013-10-31 17:21:21 -04:00
Engel A. Sanchez
483bf21f62 Exercise erlang http client 2i 2013-10-11 17:21:38 -04:00
Engel A. Sanchez
0f89e1d141 Make 2i http multipart parsing more robust
Previously it died in all sorts of ways if the packages were merged or
split into weird bits by the network or network library. Now the results
are concatenated and the whole thing parsed in the end.
2013-10-08 18:17:13 -04:00
Engel A. Sanchez
aacfd75ca7 Fix alt error msg from 2i timeout
The code could receive two different error messages depending on where
the 2i timeout occurred (webmachine process vs in the index FSM). Some
extra error handling code in the streaming requests was added since it
was useful when figuring out this bug.
2013-10-08 16:58:17 -04:00
Russell Brown
1c790063dc Update test for 503 error response 2013-08-13 13:14:56 -04: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
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
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
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
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
09e621de26 Change tests to use 2i results macros 2013-07-16 16:20:49 -04:00
Russell Brown
7b1382df40 Update tests to match changes to 2i API in riakc 2013-07-12 15:34:08 -04:00
Engel A. Sanchez
522e3edf5d Verify deletes in backup restore test
Using the new function to detect when tombstones are really, really gone
so the test is more reliable.
Also, a bit of refactoring of the delete verification and wait_until
functions to make it cleaner.
2013-06-20 11:53:20 -04:00
Engel A. Sanchez
cb75af39ab Add wait until really deleted function
I was having test failures due to the delete operation timing out
silently. This was due to dependencies not update by rebar in the end.
But in any case, this new function is more robust in detecting when
tombstones are really reaped instead of a sleep call.
Also, matching delete operation so it's noisy when it fails.
2013-06-05 17:24:59 -04:00
Russell Brown
e85afb3927 Update v1 2i tests for new result format
Remove dev / debug lager output
2013-04-25 09:06:13 +01:00
Russell Brown
a8e667eab8 2i pagination tests 2013-04-23 11:02:05 +01:00
Joe DeVivo
f3b5157245 set test log levels to info 2013-03-29 13:49:56 -07:00
Jordan West
3dc4f405c8 add test for riak_kv#499 to secondary_index_tests 2013-03-05 13:55:06 -08:00
Engel A. Sanchez
0e8ecce7d5 Add riak_test behavior 2012-12-14 10:50:49 -05:00
Sean Cribbs
1be804ecce obj5 is deleted earlier in the test and cannot be used in the range. 2012-10-25 15:08:31 -04:00
Sean Cribbs
e92ee3c27b Add test for basho/riak_kv#367, range regression on memory backend. 2012-10-25 15:08:31 -04:00
Joe DeVivo
5ee99bbbab Added source headers 2012-10-10 15:14:06 -07:00
Joe DeVivo
7b76ed844f Added support for backends on the command line 2012-09-26 14:08:26 -07:00
Joe DeVivo
debe9154ec API Changed from riakc 1.2.1 to 1.3.0 2012-09-14 10:53:39 -07:00
Joe DeVivo
3c43ed65dc Full port of b_e 2i test 2012-09-13 08:32:34 -07:00