Commit Graph

2941 Commits

Author SHA1 Message Date
Andrei Zavada
db66b09a15 try reading data from all nodes during up/downgrade process 2016-07-21 14:02:50 +03:00
Andrei Zavada
23df390183 use riakc_ts:query/2 to create & activate table
it's less noisy and a bit faster than doing it with two riak-admin
commands (which ts_util:create_and_activate_bucket_type uses).

I wonder if the ts_util function could be migrated to use direct query
as well.
2016-07-21 14:02:50 +03:00
Andrei Zavada
ee7985d4d1 a rolling upgrade/downgrade test for TS
A squash of the following commits:

* First cut of upgrade/downgrade

  Also includes a spelling fix for 'aggregration'

* Experimental branch of riak_test that includes the capability to force downgrade and upgrade the client

* whitespace cleanup, copyright year update

* ensure ts_util:assert brings a ct test down

* This is the 5th commit message:

  take care to fuzzy-compare those floats in returned rows

* don't bother reloading protobuff, but do reload riak_pb mods & apps

* always dumbly drop 'ok' from query returned tuple

* trivial code touchups

* remove client up/downgrade code, extra io:format's; use 3 nodes not 5
2016-07-21 14:02:50 +03:00
John Daily
4b422947a9 Merge pull request #1108 from basho/rename-ts-replication
Rename ts_replication to ts_cluster_replication
2016-07-20 16:42:25 -04:00
Brett Hazen
3250cb94f3 Rename ts_replication to ts_cluster_replication 2016-07-20 14:40:40 -06:00
Brett Hazen
ddecbca27e Merge pull request #1100 from basho/triage_gg_1.3.1_test_fix
Misconfigured test
2016-07-20 13:25:51 -06:00
Brett Hazen
5b3e1a2710 Merge pull request #1090 from basho/bugfix_jrd_ts-repl-rtenabled
Test timeseries bugfix for realtime queue activity
2016-07-20 13:20:33 -06:00
Brett Hazen
926b6bc6c5 Add outstanding TS permssion tests for PBC 2016-07-19 15:27:53 -06:00
andytill
48c9fb567e wip capabilities tests. 2016-07-19 10:50:19 +00:00
Brett Hazen
d65317cc5e Cleanup blank lines 2016-07-16 13:48:39 -06:00
Brett Hazen
57350cdd0e Cleanup unused functions and exports 2016-07-16 13:38:48 -06:00
Brett Hazen
9339c26e05 Add new HTTP security test suite 2016-07-15 21:02:50 -06:00
Brett Hazen
1f125028e1 Restore code duplication in each test 2016-07-15 10:47:38 -06:00
Brett Hazen
3425bdf7af Refactor tests to minimize copy/paste and add streaming list keys 2016-07-14 18:24:57 -06:00
Brett Hazen
713431ffaa Add further put test and a couple of query tests 2016-07-14 16:37:08 -06:00
Brett Hazen
b09c3dca5b Merge pull request #1106 from javajolt/merge-2.2-with-riak_ts-develop
Merge develop-2.2 with riak-ts_develop
2016-07-14 13:18:23 -06:00
Brett Hazen
9ce5c6b624 Merge pull request #1105 from javajolt/rts-1005-describe
RTS-1005: Fix tests for additional DESCRIBE columns
2016-07-14 12:28:54 -06:00
Brett Hazen
09e9deafe3 Merge remote-tracking branch 'basho/develop-2.2' into merge-2.2-with-riak_ts-develop 2016-07-14 12:16:54 -06:00
Brett Hazen
37a2b6a579 RTS-1005: Fix tests for additional DESCRIBE columns 2016-07-14 10:37:07 -06:00
andytill
9a49832777 wait for ring converge. 2016-07-14 10:40:12 +00:00
andytill
ae3eafe8c7 More caps tinkering. 2016-07-14 09:32:43 +00:00
andytill
a380e81988 Passing capabilities tests. 2016-07-13 15:50:35 +00:00
andytill
aa317dff0e Failing capabilities test. 2016-07-13 10:51:25 +00:00
andytill
40af1ea927 GROUP BY tests. 2016-07-13 10:41:29 +02:00
Andrei Zavada
b0da86234b Merge pull request #1081 from basho/feature-az-lk2pk_check_for_list_keys
merging manually because bors is awol.
2016-07-11 21:28:46 +03:00
andytill
d8a99baefd Merge branch 'riak_ts-develop' of github.com:basho/riak_test into at-group-by 2016-07-09 13:00:43 +03:00
Brett Hazen
358a5501a5 Merge pull request #1103 from basho/develop-2.2-dependency-cleanup
dependency cleanup
2016-07-08 08:10:07 -06:00
Fred Dushin
c8cf713f97 dependency cleanup 2016-07-08 10:06:40 -04:00
Fred Dushin
4371832a9f Merge pull request #1101 from basho/merge-2.0-into-develop-2.2
Merge 2.0 into develop 2.2
2016-07-07 16:28:56 -04:00
Fred Dushin
530a132f88 Updated dependencies to be consistent with riak/riak_ee develop-2.2 2016-07-07 16:06:02 -04:00
Fred Dushin
ba67c99de8 Merge branch 'riak/2.0' into merge-2.0-into-develop-2.2
# Conflicts:
#	tests/yz_core_properties_create_unload.erl
2016-07-07 15:47:12 -04:00
Andy Till
d9dda85775 Merge pull request #1098 from basho/at-fix-basic-command-line-suite
Fix the expected sub string in basic_command_line getpid test
2016-07-05 12:32:41 +00:00
Gordon Guthrie
4f2f63ed86 Misconfigured test
A set of 10 elements spanning multiple quanta is written to database
Then a query *inclusive* of the two end records was generated, but
the expected database was *exclusive* of the limits - causing it to fail
2016-07-05 11:36:43 +00:00
andytill
cc50b7c1c8 Fix the expected sub string in basic_command_line getpid test. 2016-07-05 11:03:12 +00:00
Gordon Guthrie
9db8487b3a Revert "The test contained a bug which has been fixed."
This reverts commit b2636a91cf.

Accidental commit to head being backed out
2016-07-05 10:53:07 +00:00
Gordon Guthrie
b2636a91cf The test contained a bug which has been fixed.
10 rows were written. A query inclusive of the start and end times was emitted
But the expected data was exclusive of the start and end times
2016-07-05 10:46:45 +00:00
John Daily
25d377fae9 Merge pull request #1096 from basho/fix-az-do_leave_not_stop_in_ts_degraded_tests
use rt:leave (not rt:stop) in ts_degraded_select_pass_* tests
2016-06-30 18:25:59 -04:00
Andrei Zavada
0d4e2dc21f in ts_degraded_*, use rt:leave (not stop) to actually force handoff
with some more thorough cluster workout to check SELECTs are all the same.
2016-06-30 23:51:07 +03:00
Andrei Zavada
2e1852aed6 ts_util:get_valid_spanning_quanta: make inclusive boundaries to match data 2016-06-30 23:18:59 +03:00
Andrei Zavada
09a79bd4ac add a case for "pk a subset of lk" for list_irreg_key test 2016-06-27 19:42:18 +03:00
Brett Hazen
c71957dbb2 Update riak-erlang-client to master instead of riak_ts-develop 2016-06-21 01:40:40 -06:00
Fred Dushin
e1badaba0f Merge pull request #1094 from basho/dr-fix-wait-for-index
Use yz_index:exists in wait_for_index
2016-06-17 17:13:21 -04:00
Doug Rohrer
bb4cf88796 Use yz_index:exists in wait_for_index 2016-06-17 17:12:14 -04:00
John Daily
8ec5e4fcf9 Merge pull request #1011 from basho/feature-jrd-e2e_batches
Test TS batching
2016-06-16 15:41:45 -04:00
John Daily
5727d3bc02 Merge pull request #1088 from basho/fix-az-dont_test_overwrite_of_w1c_data
ts_cluster_comprehensive: don't test overwriting TS data (because w1c)
2016-06-16 15:09:26 -04:00
John R. Daily
39f652800a After last merge, now 3 batches, not 2, so update calculations 2016-06-16 14:52:20 -04:00
John R. Daily
42fd3efe4c Merge branch 'feature-jrd-e2e_batches' of github.com:basho/riak_test into feature-jrd-e2e_batches 2016-06-16 14:50:20 -04:00
John R. Daily
0fd784ace7 Test finally measures what I wanted it to measure 2016-06-16 14:49:50 -04:00
John R. Daily
8d5054c9c0 Merge branch 'riak_ts-develop' of github.com:basho/riak_test into feature-jrd-e2e_batches 2016-06-15 16:49:59 -04:00
John R. Daily
026733d019 Intercept backend writes to validate batch count 2016-06-15 16:49:51 -04:00