Commit Graph

3 Commits

Author SHA1 Message Date
Engel A. Sanchez
1c29f7fb43 Fleshed out but disabled http client support
The http client seems to have a lot of problems and works differently
than the PB client.  Index values are not coming back on a get, even
though a PB get returns them, so indexing is not working properly.
Binaries are not encoded properly when the query index URL is created,
and empty binaries are taken to mean "no value".
2015-08-11 23:12:11 -04:00
Engel A. Sanchez
02b5e2128d Clean up and improve
General clean up and organization, with an eye on making this a
template for other EQC tests.

Preparing code to handle more than the PB client.
2015-08-11 10:46:48 -04:00
Engel A. Sanchez
fa49385837 First EQC test for secondary indexing
It needs more love to match the functionality of the regular 2i tests,
but this is a good beginning. It can show a race in 2i pagination that
has been in the code for years. The race does not show up in run in a
single node with very few vnodes. I tried 32.  Ideally we could use
PULSE to make scheduling in the riak nodes less deterministic and help
find this kind of issue, but currently PULSE is a single node joint.

This test uses a different bucket for each EQC command run. It is not
perfect isolation, but it is good enough and very fast compared to
taking down the entire cluster in between each run.
2015-08-04 14:43:21 -04:00