Commit Graph

2580 Commits

Author SHA1 Message Date
Gordon Guthrie
8fe0e44123 tidy up formatting 2016-04-01 13:58:00 +00:00
Brett Hazen
4140eacd2d Merge pull request #1023 from javajolt/bch-merge-with-2.2
Merge the latest develop-2.2 tests with riak_ts-develop
2016-03-23 13:30:56 -06:00
Brett Hazen
9c170fb052 Merge remote-tracking branch 'basho/develop-2.2' into bch-merge-with-2.2 2016-03-23 13:12:41 -06:00
Brett Hazen
f0d649e99a Merge pull request #1022 from basho/bch-merge-develop-to-2.2
Merge the latest from develop to develop-2.2
2016-03-23 12:58:13 -06:00
Brett Hazen
c899b18d78 Merge pull request #1021 from basho/bch-merge-master-to-develop
Merge master changes over to develop
2016-03-23 12:52:52 -06:00
Brett Hazen
22cdaf6608 Merge pull request #1014 from javajolt/bch-add-insert-tests
RTS-889: Add tests for INSERT command
2016-03-15 14:48:54 -06:00
Brett Hazen
210b1f7bdf Add tests for INSERT command 2016-03-14 20:43:01 +00:00
Nick Marino
e5628c2745 Merge pull request #1012 from basho/nem/forward-merge-2i-eqc
Forward merge new verify_2i_eqc test to master
2016-03-10 15:02:17 -05:00
Mark Allen
aa757b40c2 Always ensure leveldb is the backend for 2i
(cherry picked from commit 472fb6447b)
2016-03-07 17:08:50 -05:00
Mark Allen
7ead9e02fe Prevent large negative integers as values
This is due to a sext encoding bug present in current riak releases.
When sext and riak has been updated with a fix, revert this commit.

(cherry picked from commit b5a0dd9737)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
477d0e78c9 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".

(cherry picked from commit 1c29f7fb43)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
55709dbb18 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.

(cherry picked from commit 02b5e2128d)
2016-03-07 17:08:50 -05:00
Engel A. Sanchez
4402a7b061 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.

(cherry picked from commit fa49385837)
2016-03-07 17:08:50 -05:00
Brett Hazen
9298143182 Update rtdev-build-releases.sh to use R16B02-basho10 2016-03-06 22:42:50 -07:00
Nick Marino
d9d1225c57 Merge pull request #1009 from basho/feature/bjs/readrepair_object_limit
Add tests for read repair object limits
2016-03-04 15:43:17 -05:00
Nick Marino
1d6ab06cfb Remove unnecessary sleeps in verify_object_limits
Discussed this with Brian and turned out they were just left over from
some debugging he'd been doing earlier. I tried the test without them
and it works fine.
2016-03-04 15:36:15 -05:00
Jon Meredith
9f4b6b8144 Merge pull request #722 from basho/bug/mw/rt-helper-process-leak
Added test for realtime helper process leak.
2016-03-03 09:08:48 -07:00
Brian Sparrow
d66bf7546b Add tests for read repair object limits
Tests to verify that object limits are ignored for read repair. This
requires an intercept to spoof all puts as read repair since there’s no
external API for forcing read repair. Intercept used to replace both
put/6 and coord_put/6 and simply adds the `rr` property to the put
options.
2016-03-02 16:47:06 -05:00
Brett Hazen
87ed6c8911 Set riak-erlang-http-client dep to riak_ts-develop 2016-03-01 13:27:06 -07:00
Brett Hazen
fcb58df420 Merge remote-tracking branch 'origin/riak_ts-develop-1.2' into riak_ts-develop-1.3 2016-02-19 15:41:50 -07:00
Brett Hazen
ea771b4427 Set dep for riak-erlang-http-client to riak_ts-develop-1.3 2016-02-19 14:55:58 -07:00
Brett Hazen
d991a2a108 Merge pull request #1000 from basho/bch-add-riak-shell-sql-test
RTS-916: Add Simple Test to Create and Query a Table via riak_shell
2016-02-17 19:14:34 -07:00
Brett Hazen
43b0207270 Merge pull request #999 from basho/bch-fix-riak-shell-stats
RTS-917: Add riak_shell_version to list of supported stats
2016-02-17 19:14:20 -07:00
Brett Hazen
aec5f6caea Add ts_riak_shell_basic_sql 2016-02-18 01:59:08 +00:00
Brett Hazen
64a6df7898 Add riak_shell_version to list of supported stats 2016-02-18 01:43:32 +00:00
Brett Hazen
333cc39587 Merge pull request #997 from gordonguthrie/feature/gg/riak_shell
Adding riak_shell tests for riak_test
2016-02-17 16:47:01 -07:00
Gordon Guthrie
03a0bb95c9 tests for riak_shell 2016-02-17 19:41:10 +00:00
Gordon Guthrie
e5e8109ce6 make rebar.config more readable 2016-02-17 19:40:08 +00:00
Brett Hazen
2669644f1d Adjust riak-erlang-client and riak-erlang-http-client dependencies 2016-02-10 17:35:00 -07:00
Brett Hazen
75c76d9e3e Create riak_ts-develop-1.3 2016-02-10 17:05:24 -07:00
Brett Hazen
461384f7d6 Merge pull request #994 from basho/bugfix-jrd-wrong_ranges
Make stronger assertion in ts_cluster_coverage
2016-02-10 15:58:06 -07:00
Brett Hazen
1476346860 Merge pull request #992 from basho/at-single_key_ops
Single key op tests (deletes)
2016-02-10 15:51:17 -07:00
John R. Daily
5c6ac8fb66 Thinko 2016-02-10 12:58:46 -05:00
John R. Daily
f95b127933 Brett discovered a bug with assert_disjoint_ranges/2. Rather than fix it, use a stronger assertion in the test that invokes it: if you talk to the wrong process with the wrong context, you get zero results 2016-02-10 12:56:18 -05:00
andytill
8887597267 Commenting code for flexible key tests. 2016-02-09 15:36:33 +00:00
andytill
8f2bf8863b riak_test for single key ops. 2016-02-09 15:26:59 +00:00
Brett Hazen
3666e5aac8 Merge pull request #990 from basho/at-delete-notfound-error
Return an error when deleting a key that does not exist RTS-894
2016-02-04 20:41:09 -07:00
andytill
59ba138e7e Return an error when deleting a key that does not exist. 2016-02-04 17:30:24 +00:00
Brett Hazen
77f6e03ea4 Merge pull request #988 from basho/bugfix/bch/rts-875
RTS-875: Fix ts_degraded_aggregation
2016-02-03 16:47:06 -07:00
Brett Hazen
c5fa585bd9 Merge pull request #987 from basho/bugfix/bch/fn-type-error
RTS-876: Clean up ts_simple_aggregation_fail test failures
2016-02-03 14:02:22 -07:00
Brett Hazen
3ce40631a5 Merge remote branch 'origin/riak_ts-develop-1.2' into bugfix/bch/fn-type-error 2016-02-03 19:17:45 +00:00
Brett Hazen
59995278f4 Merge pull request #989 from basho/bugfix/bch/rts-890
RTS-890: Change expected error message for ts_simple_select_unexpected_token_not_allowed
2016-02-03 09:45:56 -07:00
Brett Hazen
d6a30c9f2f RTS-890: Change expected error message for
ts_simple_select_unexpected_token_not_allowed
2016-02-03 16:43:08 +00:00
Brett Hazen
623be573a8 Fix ts_degraded_aggregation 2016-02-02 22:51:44 +00:00
Brett Hazen
dc8668ca17 Remove arity from SQL aggregate window functions 2016-02-02 21:20:56 +00:00
Brett Hazen
6ed6f17b1f Clean up ts_simple_aggregation_fail test failures 2016-02-02 18:25:10 +00:00
Brett Hazen
304652b69f Merge pull request #985 from basho/bugfix/bch/adjust-error-for-select-compare
RTS-877: Adjust the error message for ts_simple_select_compare_two_fields_not_allowed
2016-02-01 15:22:01 -06:00
Brett Hazen
0bb97de95d Adjust the error message for
ts_simple_select_compare_two_fields_not_allowed
2016-02-01 18:15:24 +00:00
Andy Till
5e37811287 Merge pull request #984 from basho/at-div-by-zero
Divison by zero returns a sensible error message.
2016-02-01 16:51:06 +00:00
andytill
a4f5196711 Fix de-indentation derp. 2016-02-01 14:30:22 +00:00