Commit Graph

2373 Commits

Author SHA1 Message Date
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
a6968fe8b6 Merge pull request #923 from basho/feature/bch/add-ts_A_get_not_found
Update all get/put TS tests
2015-11-06 15:44:14 -08:00
Brett Hazen
f04a6a8bd4 Update all get/put TS tests 2015-11-06 23:27:42 +00:00
Brett Hazen
769143c71e Merge pull request #922 from basho/bugfix/bch/rts527
Fix missed type rename in ts_A_put_pass_2
2015-11-06 11:18:02 -08:00
Brett Hazen
a2078bbd31 Fix missed type rename in ts_A_put_pass_2 2015-11-06 19:09:23 +00:00
Brett Hazen
e2e7755c97 Merge pull request #921 from basho/bugfix/bch/adjust-ts-primary-key
Fix ts_basic and ts_unicode to use new datatypes and PK layout
2015-11-05 18:04:48 -08: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
Brett Hazen
59a378ec63 Merge pull request #920 from basho/feature/catch_up_to_changing_api
Modified ts_api_util to match new SQL API, so that ts_api test will pass
2015-11-05 12:15:13 -08: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
Brett Hazen
2a1c883f95 Merge pull request #909 from basho/feature/gg/remove-redundant-tests
remove unnecessary TS tests
2015-10-27 13:52:59 -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
33da845ff1 Merge pull request #907 from basho/merge/bch/2.1-with-ts
Merge latest 2.1 branch with Time Series
2015-10-23 16:17:39 -06: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 Daily
418132f7cd Merge pull request #904 from basho/bugfix/jrd/ts-eleveldb
Make eleveldb backend explicit for TS
2015-10-23 15:34:25 -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
aec55f23f7 Merge pull request #901 from basho/bugfix/merge-overload-from-2.0
Forward merge 2.0 to 2.1 for Overload, and pick up some YZ fixes as well
2015-10-23 13:44:27 -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
3be3ed630c Merge pull request #897 from basho/bugfix/fix_overload
Fix overload test
2015-10-23 12:36:12 -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
John Daily
700b6ef677 Merge pull request #888 from basho/feature/jrd/ts2i
Parallel extract merge
2015-10-20 18:21:42 -04:00
Brett Hazen
d914805daa Merge pull request #895 from basho/bugfix/bch/update-riakc-version
Change dependency for riakc to end-to-end/timeseries
2015-10-20 14:51:26 -06:00
Brett Hazen
69f34a5f31 Change dependency for riakc to end-to-end/timeseries 2015-10-20 14:05:41 -06:00
Gordon Guthrie
2e3646ce5c remove errant logging messages 2015-10-20 16:47:05 +00:00
Gordon Guthrie
b65fcc738f first major eqc test for timeseries 2015-10-20 09:05:57 +00:00
Andrei Zavada
c22d8dcf2d repeated query to check for 'mismanagement' error in riak_kv_qry_worker 2015-10-20 03:08:35 +03:00
Andrei Zavada
977e35a7b6 check deletion of nonexisting keys 2015-10-20 03:08:35 +03:00
Andrei Zavada
88c5e16324 disable yokozuna 2015-10-20 03:08:35 +03:00
Andrei Zavada
6e6c69830f add a simple riakc_ts:delete check 2015-10-20 03:08:35 +03:00