Commit Graph

2912 Commits

Author SHA1 Message Date
Brett Hazen
0c7156720d Tweak tests based on @hmmr's comments and add tests for FP changes, too 2016-08-16 10:19:28 -06:00
Brett Hazen
8e73d417f6 RTS-1296: Update riak_shell test results to use CSV format 2016-08-15 22:20:16 -06:00
Andy Till
6ca5ff4745 Merge pull request #1124 from basho/at-up-down-up
Create riak.conf under 1.3 when downgrading RTS-1302
2016-08-15 16:20:59 +01:00
Brett Hazen
af5b467f69 Merge pull request #1125 from javajolt/rts-1307-explain-coverage
RTS-1307: Add Coverage Plan column for EXPLAIN
2016-08-14 16:44:22 -06:00
Brett Hazen
d1c6f8e990 Update output of EXPLAIN to use 3 node cluster 2016-08-12 21:09:08 -06:00
Brett Hazen
a34e910676 Change format of Coverage node to <node>/<number> 2016-08-12 21:09:08 -06:00
Brett Hazen
fc0f18a95a RTS-1307: Add Coverage Plan column for EXPLAIN 2016-08-12 21:09:08 -06:00
Brett Hazen
a08c432947 Merge pull request #1123 from basho/fix-az-update_riak_shell_regression_log_wrt_timestamp_conversions
update riak_shell/regression.log wrt timestamp conversions & expanded EXPLAIN
2016-08-12 20:20:52 -05:00
andytill
43b71a0fa5 Instead of starting at 1.4 and downgrading, start at 1.3 then upgrade, then downgrade so the original riak.conf is created under 1.3. 2016-08-12 09:25:03 +00:00
Andrei Zavada
f99898779a ts_simple_insert_incorrect_columns: less clunky check for table creation 2016-08-11 20:04:33 +03:00
Andrei Zavada
fbf3ab19e6 update riak_shell/regression.log wrt time conversions, expanded EXPLAIN 2016-08-11 20:02:10 +03:00
Brett Hazen
929f8f99bc Merge pull request #1121 from basho/bugfix_jrd_shell-iso8601
Compensate for integer vs string (Erlang client vs riak-shell)
2016-08-10 17:51:53 -05:00
John R. Daily
3ac8102c58 Compensate for integer vs string (Erlang client vs riak-shell) 2016-08-10 13:52:01 -04:00
Brett Hazen
9bf618afec Merge pull request #1112 from basho/at-filter-removed-caps
Filter local capabilities when no longer in ring test
2016-08-09 16:14:25 -05:00
James Gorlick
d2fefd6b14 Merge pull request #1118 from javajolt/rts-1050-explain
RTS-1050: Add tests for EXPLAIN command
2016-08-05 20:55:25 -07:00
Brett Hazen
2d905b2e1d Add parens to EXPLAIN test output 2016-08-05 12:38:22 -05:00
Andy Till
f40add8973 Merge pull request #1109 from basho/at-group-by
SQL `GROUP BY` RTS-732
2016-08-05 17:13:03 +01:00
Brett Hazen
1de4565130 Add more complicated OR and parentheses to ts_simple_explain_query 2016-08-05 10:35:11 -05:00
Brett Hazen
ebea1381e1 Add test for case of no WHERE clause in an EXPLAIN statement 2016-08-04 21:32:10 -05:00
Brett Hazen
281b017c24 RTS-1050: Add tests for EXPLAIN query command 2016-08-04 17:10:58 -05:00
Brett Hazen
6c3f713517 RTS-1050: Add tests for EXPLAIN query 2016-08-04 15:04:39 -05:00
John Daily
c5310392a4 Merge pull request #1115 from basho/feature_jrd_iso8601
New tests for select, insert with ISO 8601 strings
2016-08-03 09:23:08 -04:00
Brett Hazen
1172640a33 Merge pull request #1113 from javajolt/rts-1271-fix-keyword-clash
RTS-1271: Fix DESCRIBE and add SHOW TABLES tests
2016-08-02 15:19:07 -06:00
John Daily
410f1e05ff Merge pull request #1114 from basho/fix-az-enforce_unicode_discipline
r-e-c now expects good unicode, so use "~ts" in Queries to accommodate
2016-08-02 17:02:43 -04:00
John R. Daily
298023e8ba Test for insert with ISO 8601 strings 2016-08-02 14:28:00 -04:00
John R. Daily
3d16865c88 Test for select with ISO 8601 strings 2016-08-02 13:25:12 -04:00
Andrei Zavada
97ec0ef7ff r-e-c now expects good unicode, so use "~ts" in Queries to accommodate 2016-08-02 18:56:46 +03:00
Brett Hazen
1e12b81111 RTS-1271: Fix DESCRIBE and add SHOW TABLES tests 2016-08-01 15:06:13 -06:00
Andrei Zavada
f1fb7271f5 Merge pull request #1091 from basho/feature-az-rolling_upgrade_downgrade
A rolling upgrade/downgrade test for TS
2016-07-29 18:30:04 +03:00
andytill
524cce3140 Reinstated an accidentally deleted line. 2016-07-29 11:52:48 +00:00
Andrei Zavada
e0075ba5e8 whitespace cleanup and reindent 2016-07-29 12:10:23 +03:00
Gordon Guthrie
3f8d6f91a4 Merge before push of the upgrade/downgrade testing changes 2016-07-29 08:24:42 +00:00
Gordon Guthrie
56873effc9 Refactoring of the updown/tests
At the moment a typical upgrade/downgrade test consists of:
* table creation
* data insertion
* a selection of data

This end-to-end actions are now called a test set

For a given configuration of a ring with capabilities a test set may have
to terminate after the table creation stage, or the data insertion one

The purpose of this refactoring is to:
* make it possible to have tests that implment as little or as much
  of a full test set as required
* make the test set exendable for other tests like deletion/list keys

In addition the upgrade/downgrade runner has been seperated out into a
part file.

The purpose of this is to make it explicit to the writer of a new test
exactly what they have to do to write a successful up/down test
2016-07-29 08:19:15 +00:00
Brett Hazen
b9f2173001 Merge pull request #1107 from javajolt/rts-1149-ts-security
RTS-1149: Add security tests for querying data
2016-07-28 16:20:02 -06:00
Brett Hazen
c46b21ccb5 RTS-1262: Rename TS permissions 2016-07-28 10:22:52 -06:00
andytill
aa78af3662 Test capabilities being removed in a node downgrade scenario. 2016-07-28 16:01:44 +00:00
Brett Hazen
45db0a2b3a Add riak_ts.query_show_tables permission 2016-07-27 10:07:09 -06:00
Andrei Zavada
a0474762d9 Revert "more reliably check two floats", with a less cumbersome fix
This reverts commit e86a54ce9a.

Minding the sign is sufficient.
2016-07-27 18:51:45 +03:00
Brett Hazen
f3713e7caa Merge pull request #1110 from javajolt/rts-1051-add-show-tables
RTS-1051: Add ts_simple_show_tables
2016-07-26 20:07:42 -06:00
Andrei Zavada
02cc6deba5 ts_updown_util: also provide for expected table creation failure 2016-07-27 00:30:41 +03:00
Brett Hazen
57481f16b1 Add test for no tables and sort the output 2016-07-26 15:10:48 -06:00
Andrei Zavada
ba73dcae4c trivial style touchup 2016-07-26 23:46:47 +03:00
Andrei Zavada
e86a54ce9a ts_util: more reliably check two floats for equality
by comparing six significant digits
2016-07-26 23:22:44 +03:00
Andrei Zavada
1daffba3de generate a static scenario ladder
also remove an unused -define
2016-07-26 20:40:17 +03:00
Andrei Zavada
bfae93333c expand on reasons for forking rt_slave 2016-07-26 20:38:48 +03:00
Brett Hazen
71686abd1f Add in tests and support for SHOW TABLES 2016-07-26 09:46:05 -06:00
Andrei Zavada
6543c2109f remove ts_sql_eqc_util, to be placed in riak_ql/tests 2016-07-26 18:11:48 +03:00
Brett Hazen
74444ee083 Update INSERT and list_key permissions 2016-07-26 07:41:51 -06:00
Brett Hazen
4e979f9297 Add ts_simple_show_tables 2016-07-25 19:33:53 -06:00
Andrei Zavada
a89f9ffd97 ts_updown_agg: make EQC non-optional 2016-07-26 02:51:49 +03:00