Commit Graph

1981 Commits

Author SHA1 Message Date
Korry Clark
380884304c Merge branches 'riak_ts-develop' and 'query_buffer_SUITE-chmod-fix-kc' of https://github.com/basho/riak_test into query_buffer_SUITE-chmod-fix-kc 2016-11-28 10:29:08 -05:00
Andrei Zavada
d6ce7a582c ts_simple_query_buffers: use mv && touch QBufDir to emulate db_open error
Because the chmod trick won't prevent root (sigh) to write to
"query_buffers" dir, let's remove the dir and plant a regular file in
init_per_testcase(query_orderby_ldb_io_error).
2016-11-28 16:17:48 +02:00
Brett Hazen
787b65e387 Merge pull request #1204 from basho/jbg-fix-ts-overload
Test of reporting TS errors of underlying atom type
2016-11-25 23:10:42 -07:00
Andy Till
35c9a150b1 Merge pull request #1206 from basho/jbg-validate-insert-values-length
RTS-1548 Fix test for validating row size on INSERT
2016-11-24 16:26:48 +00:00
Gordon Guthrie
c7e3ba2f60 Merge pull request #1208 from basho/jbg-pre-sql-check-table-exists
[RTS-1094] Tests for check table readiness on decode
2016-11-24 11:36:18 +00:00
Andy Till
779877aca9 Merge pull request #1195 from basho/feature_gg_multiline_paste
Regression test extended to cover more feature, includes bug fixes
2016-11-24 09:33:32 +00:00
Korry Clark
7727f05385 fixed tests by removing write persmissions in a more robust way 2016-11-23 15:27:08 -05:00
James Gorlick
77eb57c65d added test for case that SELECT is executed for a table that does not exist. 2016-11-23 11:55:31 -08:00
Korry Clark
9cf2a4900c removed comments 2016-11-23 11:54:42 -05:00
Korry Clark
bc88d38f9c moved a test that previously was expected to fail to the passing tests now that it is a valid query 2016-11-23 11:50:44 -05:00
James Gorlick
dc6136d3f0 renamed ts_cluster_overload_reported to match naming convention. 2016-11-21 17:05:57 -08:00
James Gorlick
24c983a290 fixed test for under specification of field values. 2016-11-21 16:55:29 -08:00
James Gorlick
7cf773aa67 added ts overload test to ensure errors reported as atoms, such as overload, are properly reported. 2016-11-21 12:33:17 -08:00
Brett Hazen
42d380a2fd Merge pull request #1203 from basho/kc-test-fix
fixes for ts_cluster_create_table_via_sql_SUITE and ts_cluster_random_query_pass_eqc
2016-11-18 15:53:22 -07:00
Korry Clark
d08cf39a6e fixed two tests 2016-11-18 13:00:00 -05:00
Andy Till
587ee5ba22 Merge pull request #1200 from basho/desc-timestamp-1.5
Desc Keys Tests
2016-11-18 16:56:27 +00:00
andytill
619abbe3ad Remove lingering ts_util calls. 2016-11-18 10:06:55 +00:00
Brett Hazen
a501be09e0 Merge pull request #1201 from basho/jbg-fix-describe-table-test
DESCRIBE <table> changes for 1.5
2016-11-17 20:02:10 -07:00
James Gorlick
4b3b52ddba Merge pull request #1193 from basho/rts-1403-add-show-create-table
RTS-1403: Add test for SHOW CREATE TABLE SQL command
2016-11-17 18:44:28 -08:00
James Gorlick
3128eda798 fixed ts_simple_describe_table test to match change in the column header "Primary Key" => "Partition Key" and addition of "Sort Order" column. 2016-11-17 11:16:05 -08:00
andytill
463bd202c0 Single key ops on desc key table tests. 2016-11-17 15:49:46 +00:00
andytill
7d6c2558d0 Streaming list keys tests. 2016-11-17 15:42:07 +00:00
andytill
aa8eb6316b ts_cluster_select_desc_SUITE tests. 2016-11-17 15:33:01 +00:00
andytill
ae7b531845 Descending local key ts_cluster_keys_SUITE tests. 2016-11-17 15:21:39 +00:00
Andrei Zavada
152909f563 ts_simple_query_buffers: query generator failed to emit ORDER BY-less ones
as well as queries with number of ORDER BY elements less than 4. Now fixed.
2016-11-16 17:23:34 +02:00
James Gorlick
cb91ce4506 added Status field to SQL "SHOW TABLES" result. 2016-11-15 10:17:37 -07:00
Brett Hazen
1e12380be0 Merge remote-tracking branch 'origin/develop-2.2' into riak_ts-develop 2016-11-15 09:36:20 -07:00
Gordon Guthrie
6be3b56051 Regression test extended to cover more feature, includes bug fixes
* replay tests crashed on replaying help commands
* replaying about; would crash the shell

In addition the regression for ORDER BY and elimination of 'too many quanta' errors that
is occassioned by the ORDER BY temporary tables changes have been fixed
2016-11-15 15:18:11 +00:00
Russell Brown
e692bd1bda Merge pull request #1184 from basho/rdb/bet365/gsets
Add support for gsets
2016-11-15 07:59:24 +00:00
Brett Hazen
186a5fc7b4 RTS-1403: Add ts_simple_show_create_table 2016-11-14 17:41:51 -07:00
Brett Hazen
85b444c0c6 Merge pull request #1152 from basho/feature-az-query_buffers
new module to check query buffer operations
2016-11-11 11:36:22 -07:00
Brett Hazen
ebdeed8aeb Merge remote-tracking branch 'origin/develop-2.2' into riak_ts-develop 2016-11-10 19:44:33 -07:00
Fred Dushin
8c0f3837b0 Removed superfluous call repair after being cancelled. 2016-11-10 20:45:44 -05:00
Brian Sparrow
7af1b63ef3 Add rt:wait_until to verify counter
Added a rt:wait_until for the final check of the counters instead of
only checking once. Sometimes, even though the full sync completed
successfully, the counter values might not be fully written and
propagated to all owning vnodes. Change test to check more than once to
account for this eventual consistency.
2016-11-10 20:07:22 -05:00
Doug Rohrer
c583132b2f Merge pull request #1189 from basho/im/bugfix/rt_cascading_ensure_ack-race
Use rt:wait_until to check unacked on source node
2016-11-10 19:11:43 -05:00
Ian Milligan
dc97aa421d Use rt:wait_until to check unacked on source node
Acks are sent asynchronously after a successful write on the sink, so we
cannot rely on the ack having being received by the source immediately
after we read the data on the sink.
2016-11-10 14:30:22 -08:00
Doug Rohrer
a317dceb32 Prevent tree upgrades which can block replication from completing
Use capability override to make sure that neither side
of the replication link upgrades its object hash version
because if once side updates its trees and the other hasn't
completed the process yet (or in mixed clusters doesn't even
support it) the AAE full sync cannot complete.
2016-11-10 16:47:15 -05:00
Andrei Zavada
eff8df9d30 ts_cluster_updowngrade_*: enable more scenarios, add new caps to check
this requires tag riak_ts-1.4.1 in riak_kv
2016-11-08 23:02:40 +02:00
Andrei Zavada
7f2ceb7b79 ts_updown_util: more logging messages 2016-11-08 22:58:23 +02:00
Andrei Zavada
be74e6c28f ts_updown_util: teach find_or_make_node_at_vsn to properly select nodes 2016-11-08 22:57:58 +02:00
Andrei Zavada
ed9be53654 ts_cluster_updowngrade_: reenable previous QueryNodeVsn (exc. order_by) 2016-11-07 16:12:33 +02:00
Andrei Zavada
a2bc875481 ts_updown_util: more checkpoint messages in logs 2016-11-07 16:11:27 +02:00
Andrei Zavada
924f2888aa ts_cluster_updowngrade_*: exclude downgrades from scenarios, for 1.5-1.4 2016-11-07 00:54:06 +02:00
Andrei Zavada
63f7edbeb9 ts_updown_util: rework to halt scenario if a stage fails 2016-11-06 06:20:25 +02:00
Brett Hazen
f20675d692 Merge pull request #1185 from basho/fix-az-unbreak_ts_simple_http_security_suite
ts_simple_http_security_SUITE: rework, make it actually pass
2016-11-04 22:32:46 -06:00
John R. Daily
4744eecd47 Faster/cleaner remove_last/1 per Andrei
converting ts_util calls to new ts library calls

modified ts_setup:create_bucket_type

more test updating

Replace ts_util with ts_setup, ts_ops and ts_data
2016-11-04 16:19:30 -06:00
John R. Daily
2d1f39eed6 Convert one simple test 2016-11-04 14:35:36 -06:00
John R. Daily
a56ae12010 Restructure code from ts_util.erl to make tests more explicit/more verbose/much easier to understand 2016-11-04 14:35:36 -06:00
Andrei Zavada
b2afbd3f51 Merge branch 'riak_ts-develop' into feature-az-query_buffers 2016-11-04 04:48:04 +02:00
Andrei Zavada
b233646c73 ts_simple_http_security_SUITE: rework, make it actually pass 2016-11-04 04:44:10 +02:00