Commit Graph

2513 Commits

Author SHA1 Message Date
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
Fred Dushin
6f0e53433a Merge pull request #886 from basho/backport/zl/yz_extractors+rt-fixums-as-per-PR866
yokozuna_rt additions for types and better testing w/ allow-mult=true…
2015-10-27 14:12:35 -04: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
John R. Daily
f2cae6503e Revert to TS rebar.config 2015-10-16 16:26:38 -04:00
Jason Voegele
e72826d63a Merge pull request #866 from basho/bugfix/forward-merge-snmp-stat-poller-race
Merge branch `riak/2.0` into `master` w/ some updates to yz_extractors along the way
2015-10-15 09:34:00 -04:00
Gordon Guthrie
499b00b47f Merge pull request #892 from basho/feature/gg/fix-up-testfn
fn called with wrong arity from within test
2015-10-14 13:05:35 +00:00
Gordon Guthrie
25f143aaa0 fn called with wrong arity 2015-10-14 12:52:04 +00:00
Gordon Guthrie
75654db9be Merge pull request #891 from basho/fix/gg/naming
minor renaming/typos
2015-10-14 12:35:50 +00:00
Gordon Guthrie
8dbd48119d Merge pull request #890 from basho/feature/more_TS_tests
Feature/more ts tests
2015-10-14 12:33:50 +00:00
Gordon Guthrie
db16139345 Merge pull request #881 from basho/gg/timeseries/more_tests
another test
2015-10-14 12:31:32 +00:00
Gordon Guthrie
74cbec6049 minor renaming/typos 2015-10-14 12:26:44 +00:00
Gordon Guthrie
8aa465c6a7 Merge pull request #878 from basho/feature/fix_select_tests
More tests and notes on existing select fail tests
2015-10-14 11:07:52 +00:00
Zeeshan Lakhani
81d74cd8ca yokozuna_rt additions for types and better testing w/ allow-mult=true extractors test
(cherry picked from commit 844ee9cdb20bd2f476d28fe7ef80967e23d09046)
2015-10-13 15:35:41 -04:00
Zeeshan Lakhani
0768ebc3bc yokozuna_rt additions for types and better testing w/ allow-mult=true extractors test 2015-10-13 15:34:29 -04:00