Commit Graph

1429 Commits

Author SHA1 Message Date
Brett Hazen
8a90c5cb5a Merge branch 'riak_ts' into bugfix/bch/fix_ts_B_put_pass_1 2015-11-20 08:25:23 -07:00
Brett Hazen
3b0398c636 Add better support for EQC tests 2015-11-19 20:54:16 -07:00
Brett Hazen
d4c29b22c0 Further optimization of TS tests 2015-11-19 20:13:26 +00:00
Brett Hazen
7cdf8ac807 Merge pull request #929 from basho/feature/az/ts-list_keys
test riakc_ts:list_keys/4 in ts_basic
2015-11-19 13:00:03 -07:00
Andrei Zavada
01965fb47b single quotes are better than double quotes 2015-11-19 21:37:41 +02:00
Andrei Zavada
38e65cf225 don't try to put Key, do put Data 2015-11-19 20:57:29 +02:00
Brett Hazen
feb4364cec Merge branch 'bugfix/bch/fix_ts_B_put_pass_1' of github.com:basho/riak_test into bugfix/bch/fix_ts_B_put_pass_1 2015-11-17 22:57:08 +00:00
Brett Hazen
b7c268119d Refactor all TS tests to put asserts inside of test instead of
timeseries_utils.erl
2015-11-17 22:54:20 +00:00
Brett Hazen
31bd58a0de Update timeseries_util:confirm_put/5 for ts_B_put_pass_1 2015-11-17 17:05:04 +00:00
Brett Hazen
2f2256583f Merge pull request #928 from basho/bugfix/bch/update-verify-stats-4-ts
Add <<"riak_ql_version">> to verify_riak_stats for timeseries
2015-11-17 08:55:42 -07:00
Andrei Zavada
a265ad5972 test for the case of non-existent Table 2015-11-17 13:43:14 +02:00
Andrei Zavada
379d7ba215 add a check for list_keys (from different nodes)
now building a cluster of 3 nodes. Also, unreverse order of test data.
2015-11-12 07:03:22 +02:00
Andrei Zavada
071165ebed refactor to reflect type renames in riak_ts; split checks into smaller funs
also export run_test/2 as proposed in 052295a431.
2015-11-12 07:03:22 +02:00
Brett Hazen
c70c19295c Add _not_allowed suffix to many tests 2015-11-11 22:10:28 +00:00
Brett Hazen
119ffd239c Rename to ts_A_select_compare_two_fields_not_allowed 2015-11-11 21:44:37 +00:00
Brett Hazen
3d3c9aa806 Add <<"riak_ql_version">> to verify_riak_stats for timeseries 2015-11-11 20:55:06 +00:00
Brett Hazen
f76d8c53ca Rename all of the ts_A_select_fail_* tests 2015-11-11 20:33:12 +00:00
Brett Hazen
8f8b3d9b4d Update all of the expected messages for the failing select tests 2015-11-11 19:53:42 +00:00
Brett Hazen
1de93e1da7 Update timeseries_util:confirm_put/5 for ts_B_put_pass_1 2015-11-08 23:14:53 +00:00
Brett Hazen
f04a6a8bd4 Update all get/put TS tests 2015-11-06 23:27:42 +00:00
Brett Hazen
a2078bbd31 Fix missed type rename in ts_A_put_pass_2 2015-11-06 19:09:23 +00:00
Brett Hazen
052295a431 Fix ts_basic and ts_unicode to use new datatypes and PK layout 2015-11-06 02:02:33 +00:00
erikleitch
ea54a7559d Modified ts_api_util to match new SQL API, so that ts_api test will pass 2015-11-05 12:10:54 -08:00
erikleitch
1c7ddaa8ac Fixed ts_A_put_pass_2 to pass. Primary key was backwards, type 'any' no longer suppored, booleans need to be booleans (ie, 'true') and not binaries (<<"true">>), and test must return 'pass' atom after assertions have succeeded 2015-11-05 01:33:22 +00:00
erikleitch
cfe334644d Fixed ts_api test to pass once the badarith bugfix is checked in 2015-11-05 01:33:22 +00:00
erikleitch
837e366965 Added additional tests for binary + boolean 2015-11-05 01:30:45 +00:00
Brett Hazen
0028c021bf Fix table creation tests 2015-11-05 01:30:45 +00:00
Andrei Zavada
f43cce248d riakc_ts:get now returns a tuple 2015-11-05 01:27:44 +00:00
Gordon Guthrie
5233eb54c8 rejig of DDL to use double/sint64 and conform to key order 2015-10-30 18:38:38 +00:00
Brett Hazen
c15a51572d Merge pull request #910 from basho/feature/gg/match_tests_to_error_msgs
Error message for ts_A_put_fail_3_bad_date has been added; ts_A_select_fail_1 deleted
2015-10-27 15:39:52 -06:00
Gordon Guthrie
2cd8edd193 Another 2 tests fixes
The test ts_A_select_fail_1 was shadowing ts_A_put_fail_1 as you
can't get to the select if the put fails

The error message for ts_A_put_fail_3_bad_date has been added
2015-10-27 19:22:28 +00:00
Gordon Guthrie
a322dcfacf remove unnecessary tests 2015-10-27 18:06:38 +00:00
Brett Hazen
5dde9d12b1 Merge branch 'riak/2.1' into merge/bch/2.1-with-ts 2015-10-23 16:00:23 -06:00
John Daily
4ff159f268 Merge pull request #906 from basho/feature/add_api_tests
Added preliminary test for filtering API (full test will have to wait…
2015-10-23 17:27:56 -04:00
erikleitch
edca6ba829 Added preliminary test for filtering API (full test will have to wait until riak_ql is fixed for boolean/any data types) 2015-10-23 13:51:47 -07:00
John Daily
155a1884cb Merge pull request #903 from basho/bugfix/jrd/select-fail-3
Typo made test fail
2015-10-23 15:34:35 -04:00
John R. Daily
3250232700 Typo made test fail 2015-10-23 15:26:10 -04:00
John R. Daily
f065b6c3fe Make eleveldb backend explicit for TS 2015-10-23 15:24:39 -04:00
John Daily
edfeead364 Merge pull request #902 from basho/ts-unicode-test
Add test with utf8 values
2015-10-23 15:14:18 -04:00
Andrei Zavada
56e129a56e Merge pull request #896 from basho/feature/az/single-key-get-in-ts_basic
include a riakc_ts:get check in ts_basic
2015-10-23 22:06:33 +03:00
John R. Daily
6259d191f0 Add test with utf8 values 2015-10-23 13:55:13 -04:00
Doug Rohrer
2d7ac6ab4f Merge of several YZ changes and overload fix from riak/2.0 to riak/2.1 2015-10-23 12:56:06 -04:00
Doug Rohrer
818645ec83 Make tests pass regardless of order run by always writing default values for configuration settings, rather than trying to only change certain values.
- Always set values to keys that have no defaults in schema, as setting a value to `undefined` does not return the "default" value when application:get_env/3 is called
- Provide an easier way to get the configuration by creating the config record, with appropriate defaults
- Code cleanup on BKV1/2/3 - make them easier to read/understand and for future work in refactoring the tests and removing some of the complexity.
- Now that test is running more consistently, tighten tests to actually test something in test_vnode_protection.
- Bump vnode protection to ?THRESHOLD+1 as 2.0 seems to have one extra message.
- Convert lager:info to lager:debug in successful get cases to reduce noise.
- Remove use of ConsistentType (use macros & pass BKV down to validate).
2015-10-22 16:43:42 -04:00
Doug Rohrer
b863efcd76 Get FSM overload to be predictable by suspending vnodes and inspecting the sidejob configuration to calculate limits.
- Actually test FSM protection - previous limits didn't actually test overload at all. Now stop vnode and do an exact count of how many FSMs should have spun up.

- Make sure to wait for riak_kv before suspending any vnodes.

- Found sidejob race condition and updated test to compensate.
2015-10-22 16:43:32 -04:00
Doug Rohrer
68f40aa5a1 Get vnode protection test working:
Added send of junk message through proxy to force vnode proxies into
overload state - without it, the first messgage would be forwarded to
the vnode and time out, which caused the test to fail.
2015-10-22 16:43:24 -04:00
Brett Hazen
d360f28075 Add back EQC macros to allow ts_B_random_query_pass_eqc to compile w/o
EQC
2015-10-22 20:21:23 +00:00
Andrei Zavada
02ec602f0d include a riakc_ts:get check 2015-10-22 21:14:18 +03:00
Andrei Zavada
2a831c6240 Merge pull request #893 from basho/feature/az/single-key-delete-in-ts_basic
add a simple riakc_ts:delete check
2015-10-22 02:39:29 +03:00
Brett Hazen
7c819ac0a2 Merge pull request #894 from basho/timeseries/gg/eqc
First major eqc test for timeseries
2015-10-21 11:48:54 -06:00
Brett Hazen
187bf0ce3a Reduce the number of tests to 500; uncomment logging; specify backend 2015-10-21 11:13:25 -06:00