Brett Hazen
7e2938878d
Adjust expected results and add in describe table
2015-12-17 20:44:58 -07:00
Brett Hazen
bebf57dcea
Fix expected results from ts_query
2015-12-17 19:25:02 -07:00
Brett Hazen
43b38202ce
Initial addition of aggregation tests
2015-12-18 01:07:46 +00:00
Brett Hazen
f8e94b070a
Merge remote branch 'origin/riak/2.1' into merge/bch/2.1.3-to-ts
2015-12-16 16:46:18 +00:00
Andrei Zavada
0448a0af61
check data overwrite
2015-12-12 00:11:35 +00:00
Brett Hazen
19e9b65062
Change 5 tests to pattern match on the error strings returned
2015-12-11 17:21:02 +00:00
Brett Hazen
4009a59d33
Merge pull request #957 from basho/at/symbols_in_table_names
...
Symbols in table names
2015-12-10 15:41:56 -07:00
andytill
a7aee4d20a
Separate assert for symbols.
2015-12-10 14:44:01 +00:00
andytill
4e62a7839f
Test more symbols.
2015-12-10 14:15:50 +00:00
andytill
0ca63e8808
Test putting some symbols in field names and make sure they fail.
2015-12-10 10:52:41 +00:00
andytill
643e4a319d
Test symbols in table names.
2015-12-10 10:22:49 +00:00
Brett Hazen
383a9b2193
Merge remote branch 'origin/riak_ts' into fix/az/stream-list-keys
2015-12-09 23:17:31 +00:00
Ted Burghart
2c2e57d898
Move wait_for_vnode_change inside the -ifdef(EQC) clause.
2015-12-09 14:45:41 -05:00
Doug Rohrer
becc72b3f9
Merge pull request #955 from basho/bugfix/jrd/delete-list
...
Pause to allow delete_mode delay to function
2015-12-07 21:23:26 -05:00
Brett Hazen
860965cd46
Merge pull request #954 from basho/feature/jrd/toggle-pb-t2b
...
Test term_to_binary
2015-12-07 18:18:15 -07:00
John R. Daily
60a56a380c
Need another sleep for the bulk delete
2015-12-07 20:14:06 -05:00
John R. Daily
8d91b1dda8
Pause to allow delete_mode delay to function
2015-12-07 20:00:07 -05:00
John R. Daily
0d2a6855aa
Move term_to_binary testing directly into ts_basic
2015-12-07 18:10:13 -05:00
John R. Daily
14b7707c1b
Add a toggle back to pb for further testing
2015-12-07 12:05:56 -05:00
John R. Daily
d3e526aa38
Run through ts_basic, but with term_to_binary
2015-12-07 10:25:34 -05:00
Andrei Zavada
ae7cc9fef2
deal in ts_basic with stream_list_keys that's always late
2015-12-06 15:26:32 +02:00
Andrei Zavada
b74a29608a
test TS stream_list_keys
2015-12-06 05:53:46 +02:00
Andrei Zavada
404b8a37be
use stream_list_keys in ts_basic
2015-12-04 04:38:05 +02:00
John R. Daily
f313841a9e
New error message
2015-12-03 15:10:56 -05:00
John Daily
97b9d83ccc
Merge pull request #951 from basho/bugfix/bch/rts-531
...
RTS-531: Use some ts_util functions in ts_basic to avoid code duplication
2015-12-02 18:26:53 -05:00
Brett Hazen
004f74cdde
Use some ts_util functions in ts_basic to avoid code duplication
2015-12-02 23:02:00 +00:00
Brett Hazen
c33f847b3d
Add a test for all datatypes which support null values
2015-12-02 04:01:48 +00:00
Brett Hazen
0cce08bda7
Merge pull request #943 from basho/feature/az/new-ts_A_create_table-modules-for-comprehensive-ddl-validation
...
new ts_A_create_table_* modules for more comprehensive ddl validation
2015-12-01 14:40:33 -07:00
Andrei Zavada
af8591ecb0
fix a format char
2015-12-01 20:00:33 +02:00
Andrei Zavada
f234e16de2
only use shared get_ddl(), drop get_ddl(bad); tidy up code
2015-12-01 19:59:55 +02:00
Doug Rohrer
57659d3c1d
Forward port changes to proxy_overload_recovery to make it pass in the
...
face of indeterminate behavior.
2015-12-01 12:24:41 -05:00
Brett Hazen
78fde60f35
Try to activate the bucket type 4 times
2015-11-30 21:04:10 +00:00
Andrei Zavada
2519da7300
tweak expected error message for ts_A_create_table_not_null_pk_fields
2015-11-29 02:29:36 +02:00
Andrei Zavada
6e158e6ee5
add a dup_primary_key_fail test for ts_A_create_table battery
2015-11-29 02:23:57 +02:00
Brett Hazen
9058ac621d
Result from test is not always a string
2015-11-25 21:54:09 +00:00
Andrei Zavada
da2b3cecd8
remove emacs mode first-line comment
...
emacs can correctly determine the mode from the .erl extension.
2015-11-25 22:09:49 +02:00
Andrei Zavada
99d99a814d
new ts_A_create_table_* modules w/ fixes to match changes error messages
2015-11-25 22:07:33 +02:00
Nick Marino
8e5b9a892e
Fix misplaced character in ensemble_util config
2015-11-24 15:17:01 -05:00
andytill
2c9ec39de6
Fixed moduel tags.
2015-11-24 19:27:10 +00:00
Doug Rohrer
619b24e7d3
Updated tests to explicitly set allow_mult and dvv_enabled, as
...
overriding default_bucket_props in advanced_config without
explicitly setting these returns different values with the fix for
allow_mult turning to true with an app.config file present.
2015-11-24 13:41:36 -05:00
Andy Till
f8795caac7
Merge pull request #936 from basho/at/ts_encoding_tests
...
Add tests for utf8 and latin1 in the table definition
2015-11-24 17:59:01 +00:00
andytill
8c2d122623
Renamed tests.
2015-11-24 17:26:49 +00:00
Nick Marino
d855c1f6ba
Log the start of each test in repl_aae_fullsync
...
This makes it much easier to tell which code is being executed at a
given point in the log, since many of the tests print identical log
messages.
2015-11-24 11:52:21 -05:00
Brett Hazen
d9c474f1d8
Update the error message for ts_A_select_compare_two_fields_not_allowed
2015-11-23 21:03:15 +00:00
Nick Marino
2be9c2f83b
Fix race in repl_rt_heartbeat due to short timeout
...
One particular timeout in the repl_rt_heartbeat test was slightly too
short, which could cause us to occasionally hit a false positive on this
test if various timings lined up just right. This PR bumps up the
timeout, which should prevent this from happening again.
I would really like to do a proper fix for this, which would use
intercepts or something to confirm that the actual timeout is being hit
in the code...but we don't really have time for that, and a half fix is
better than no fix I suppose.
2015-11-23 11:09:21 -05:00
andytill
81982b7d4e
Merge branch 'riak_ts' of https://github.com/basho/riak_test into at/ts_encoding_tests
2015-11-23 15:55:01 +00:00
andytill
f8c25a33c1
Add tests for utf8 and latin1 in the table definition, neither are supported at the moment because of the way JSON is encoded.
2015-11-23 15:53:45 +00:00
Brett Hazen
6de6c0fc25
Add boilerplate license to all test files
2015-11-20 22:09:48 +00:00
Brett Hazen
9f825c2440
Fix changed output
2015-11-20 10:41:31 -07:00
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
Zeeshan Lakhani
753940a8e3
sure up possible race between upgrade and first check
...
(cherry picked from commit 867dc1a036
)
2015-11-18 16:24:58 -05:00
Zeeshan Lakhani
867dc1a036
sure up possible race between upgrade and first check
2015-11-18 12:51:15 -05: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
Doug Rohrer
ce8ef794cb
Updated to attempt to make sure we get the "right" vnode PID.
2015-11-16 18:28:55 -05: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
John Daily
700b6ef677
Merge pull request #888 from basho/feature/jrd/ts2i
...
Parallel extract merge
2015-10-20 18:21:42 -04: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
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
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
andytill
c8b12d7f1e
Raised a ticket for this failing tests, allowing unquoted strings.
2015-10-13 16:38:13 +00:00
andytill
62fc719160
int is now integer.
2015-10-13 16:37:30 +00:00
andytill
044bb34d28
Merged.
2015-10-13 11:26:48 +00:00
andytill
d883c5f3f5
More tests.
2015-10-13 09:56:48 +00:00
John R. Daily
a65520d2f8
Merge branch 'riak_ts' of github.com:basho/riak_test into feature/jrd/ts2i
2015-10-12 15:21:12 -04:00
Gordon Guthrie
c911d75294
align tests with rts-351 error messages
2015-10-12 14:28:03 +00:00
John Daily
7b3edf47e4
Merge pull request #884 from basho/feature/add-2i-eqc-test
...
Add Engel's 2i EQC test
2015-10-08 14:06:35 -04:00
Gordon Guthrie
f30464d51b
new create table test
2015-10-08 12:14:47 +00:00
Jason Voegele
ea5f62df9a
Refactor some Yokozuna tests to eliminate duplication
...
Specifically, introduce the `gen_keys/1` and `assert_search/6` functions
into yokozuna_rt module and refactor tests to use them instead of copied
and pasted code fragments.
(cherry picked from commit 49d5c361c5
)
2015-10-07 12:19:27 -04:00
Jason Voegele
35cb49f002
Verify cluster stats in SNMP
...
Update verify_snmp_repl test to prove that cluster stats are correctly
recorded in SNMP.
2015-10-07 11:54:54 -04:00
Zeeshan Lakhani
dfcad14eba
update yz tests to use commit fn instead of sleep
2015-10-07 11:54:54 -04:00
Zeeshan Lakhani
99e1babac1
update extractors test to check for possible issue w/ expiry and custom extractors
2015-10-07 11:54:54 -04:00
Jason Voegele
9bcd4a6c0c
Induce race condition in riak_snmp_stat_poller
...
There is a race in riak_snmp_stat_poller, which occurs when realtime
replication is enabled for more than two clusters. If the replication is
enabled quickly enough, then the bug does not manifest itself. This
change introduces a sleep between enabling replication between the
individual clusters, thus causing the test to fail consistently instead
of sporadically.
2015-10-07 11:54:54 -04:00
Gordon Guthrie
b7a609ae86
another test
2015-10-07 14:47:57 +00:00
Gordon Guthrie
4caa2f3116
a failing put test
2015-10-07 13:58:19 +00:00
John R. Daily
e3491ab2f1
Updates for new 2i/return_body=true PB messages
2015-10-06 15:34:28 -04:00
andytill
d00d025325
Remove quotes around error messages.
2015-10-06 13:10:02 +00:00
andytill
6f865a0274
Some cleanup, commented on why some of the tests are failing, 3 is passing./riak_test -c rtdev -t tests/ts_A_put_fail_3.erl
2015-10-05 10:09:53 +00:00
andytill
eda3cbbef8
Verify error messages for where clauses when the quanta(s) is not fully specified.
2015-10-05 10:08:15 +00:00
andytill
38c8df7860
Verify that query results are returned in key sorted order, whatever order they were written as.
2015-10-05 10:07:19 +00:00
Gordon Guthrie
9a53f901c7
erk, revert
2015-10-02 14:56:50 +00:00
Gordon Guthrie
9a66b81f33
make test pass (was test artifact)
2015-10-02 14:51:29 +00:00
Gordon Guthrie
e1a187e974
more passing select tests
2015-10-02 14:06:51 +00:00
Andrei Zavada
b417a58f26
pesky off-by-one's scale in interesting ways
...
# Conflicts:
# tests/ts_A_select_pass_2.erl
2015-10-02 06:39:54 +03:00
Gordon Guthrie
20b09cd9fc
tests adjustment to pass
2015-10-01 21:53:27 +00:00
Gordon Guthrie
3d0d97acf1
adjust tests for fix
2015-10-01 21:09:51 +00:00
Andrei Zavada
a0b6596bf7
quanta spanning select test
2015-10-01 18:25:58 +03:00
Andrei Zavada
4764c4ed8c
a simpler way to exclude last element in a data set
...
which will work for sparse data, too
2015-10-01 18:25:54 +03:00
Gordon Guthrie
61cb52141c
made tests slightly more future proof
2015-10-01 14:54:31 +00:00
andytill
650ab6a44e
Match results of the selection, from ok to {Cols, Rows}.
2015-10-01 11:02:07 +00:00
andytill
c21666c423
ts_A_select_pass_1 passing.
2015-10-01 10:49:42 +00:00
Gordon Guthrie
f64e2d0c6a
Merge pull request #873 from basho/riak_ts_put_tests
...
TS put test fixes
2015-09-30 15:14:31 +00:00
andytill
d9bcbf998c
Convert indentation to all spaces, fixing alignment.
2015-09-30 14:25:12 +00:00
andytill
f050c574f4
Deleted tests/ts_A_put_fail_3.erl which fails ont he erlang client side so no longer needs to be an integrated test.
2015-09-30 14:16:40 +00:00
andytill
a31ed53fb3
Moved the assertion out of timeseries_util:put_confirm to use assertMatch on errors.
2015-09-30 14:15:00 +00:00
Andrei Zavada
2bdd37f52f
a single-node cluster is enough for this test
2015-09-29 20:11:57 +03:00
Andrei Zavada
f2e7ab6278
expect correct number of records from riak_ts:query/1
2015-09-29 20:11:31 +03:00
Gordon Guthrie
a86b825df5
fixes for misaligned queries in the utilities fn
2015-09-29 15:24:44 +00:00
John R. Daily
124453c7b8
Merge 2i changes for parallel queries from BDP to TS
2015-09-29 10:56:02 -04:00
Jason Voegele
49d5c361c5
Refactor some Yokozuna tests to eliminate duplication
...
Specifically, introduce the `gen_keys/1` and `assert_search/6` functions
into yokozuna_rt module and refactor tests to use them instead of copied
and pasted code fragments.
2015-09-24 10:13:48 -04:00
Gordon Guthrie
84dde26a5a
Further Time Series Tests
...
Please see the ts.README for details of the test structure
Some of these tests will fail:
* because they are bugs
Some of these tests will fail:
because we are currently awaiting query fixes and merges
2015-09-24 10:17:49 +00:00
Gordon Guthrie
c225a6107f
The great renaming for giddyup
...
Plus some new test skeletons
2015-09-22 20:15:26 +00:00
Gordon Guthrie
45df548d4d
more tests (some failing)
2015-09-22 11:39:37 +00:00
Gordon Guthrie
5c61010a99
Reorganised timeseries test suite to be inline
...
with the other test suites - using a util fn
2015-09-21 11:46:19 +00:00
Andrei Zavada
478d2ef36f
eventual fixes to tests/ts_basic
2015-09-21 03:25:14 +04:00
Andrei Zavada
3de42c7964
make timeseries.part compile
2015-09-18 14:02:51 +04:00
Andrei Zavada
7a6bda3e89
Merge branch 'riak_ts' of github.com:basho/riak_test into riak_ts
2015-09-18 13:31:17 +04:00
Andrei Zavada
87aca6bf1a
fixes to be squashed to tests/ts_basic
2015-09-18 13:28:35 +04:00
Gordon Guthrie
43fd6024bf
rejig of test suites, modularisation
2015-09-18 09:22:03 +00:00
Gordon Guthrie
a362a235a0
Start of the timeseries test suite
...
The passing test is passing
The failing test is failing (but not in a good way)
This commit shows how we will split out common code in
our riak_tests - things like generators for data, and
configurations to run the tests against
Overkill for the tests herein, but will become more
important for the rest of the tests and the eqc tests
2015-09-16 15:55:08 +00:00
Andrei Zavada
22499615ca
fixes to be squashed, still WIP
2015-09-16 16:33:34 +04:00
Andrei Zavada
6e0d5b6cd3
basic, untested module for riak_ts
...
* requires riak-erlang-client/bk-rts-221-timeseries;
* to be run on riak/end-to-end/timeseries;
* UNTESTED.
2015-09-16 01:37:57 +04:00
Jason Voegele
54eeff9080
Verify cluster stats in SNMP
...
Update verify_snmp_repl test to prove that cluster stats are correctly
recorded in SNMP.
2015-09-11 09:56:06 -04:00
Zeeshan Lakhani
b61d9c616e
update yz tests to use commit fn instead of sleep
2015-09-09 19:42:53 -04:00
Zeeshan Lakhani
40d0fd22d0
update extractors test to check for possible issue w/ expiry and custom extractors
2015-09-09 19:42:53 -04:00
Jason Voegele
f555b6ba5b
Induce race condition in riak_snmp_stat_poller
...
There is a race in riak_snmp_stat_poller, which occurs when realtime
replication is enabled for more than two clusters. If the replication is
enabled quickly enough, then the bug does not manifest itself. This
change introduces a sleep between enabling replication between the
individual clusters, thus causing the test to fail consistently instead
of sporadically.
2015-08-28 17:05:00 -04:00
Doug Rohrer
51db1bde66
Merge branch 'riak/2.0' into forward_merge/dr/riak_2.0_to_master
...
- Forward merge verify_stage_clustering fix
- Updates to allow either strings or atoms for node names in config & allow them to be different (atom or string) in test vs. config.
2015-08-26 13:59:04 -04:00
Doug Rohrer
9c2db4b148
Use wait_for and actually check the results of riak-admin cluster join
...
to ensure we've really joined the cluster before we continue the test.
2015-08-26 13:36:30 -04:00
Jason Voegele
b71e582dc0
Log when original version of intercepted function fails
2015-08-26 09:21:30 -04:00
Jason Voegele
8641f6edc6
Crash test process instead of returning fail atom
2015-08-25 16:24:55 -04:00
Jason Voegele
9ee856546a
Fail with the bare atom fail
...
`riak_test_runner` does not support tagged tuples for failures. Fix
verify_snmp_repl module so that it returns the bare atom `fail` when it
fails, and write more detailed error messages to the log instead.
2015-08-25 14:39:28 -04:00
Doug Rohrer
a26be146c4
Added rt:create_activate_and_wait_for_bucket_type so that the test can
...
specify it wants all nodes in the cluster to have the type before
continuing. Update http_bucket_types to use said function.
(cherry picked from commit 31b1002b3e
)
2015-08-25 11:21:18 -04:00
Doug Rohrer
31b1002b3e
Added rt:create_activate_and_wait_for_bucket_type so that the test can
...
specify it wants all nodes in the cluster to have the type before
continuing. Update http_bucket_types to use said function.
2015-08-25 10:20:42 -04:00
Doug Rohrer
bbf44fd14b
Forward merge (potential) fix for riak667_mixed {error, disconnected} issue.
2015-08-21 17:14:52 -04:00
Doug Rohrer
94c66e7138
Renamed connection Pids and reformat some code for consistency.
2015-08-21 16:36:37 -04:00
Doug Rohrer
86fece0c9c
Use a new connection after each failed attempt to read a map, as
...
auto_reconnect seems to be broken, and isn't part of the test.
2015-08-21 11:22:12 -04:00
Brett Hazen
67cfb444ed
Backport @seancribbs's change in #791 to address disconnection in
...
riak667_mixed
2015-08-19 10:12:23 -06:00
Zeeshan Lakhani
d3a17e90da
Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/riak/2.0_head_97be67233aaac3242a58d06700bf0fbe55619d80-to-2.1
2015-08-14 17:34:18 -04:00
Andrei Zavada
724d368eda
specify -behaviour(riak_test) for proxy_overload_recovery
2015-08-15 01:19:07 +04:00
Andrei Zavada
c259888e56
wrap proxy_overload_recovery contents in -ifdef(EQC).
2015-08-15 01:19:07 +04:00
Jason Voegele
c1d21c4822
Backport verify_snmp_repl
2015-08-14 10:26:01 -06:00
Jon Meredith
9db55b5256
Merge branch 'riak/2.0'
2015-08-14 08:15:06 -06:00
Christopher S. Meiklejohn
caac0f35c1
Merge pull request #827 from basho/bugfix/jdm/vnode-proxy-stuck-in-overload-v2
...
Quickcheck test for vnode proxy overload recovery.
2015-08-13 18:58:36 -04:00
Zeeshan Lakhani
4b9c91bfbe
Merge remote-tracking branch 'origin/riak/2.0' into merge-forward/zl/riak/2.0tomaster
2015-08-13 18:36:12 -04:00
Jon Meredith
2e868da4ca
Merge pull request #829 from basho/jdm/2.1.2rc2-that-should-be-in-2.0
...
Jdm/2.1.2rc2 that should be in 2.0
2015-08-13 16:26:54 -06:00
John R. Daily
2ce3a57b1b
Make this test deterministic whether it likes it or not: intercept init
2015-08-13 17:33:38 -04:00
Jon Meredith
865a389b76
Updated proxy overload recovery test with review comments.
...
Only non-cosmetic change as to the order of
drain/sys:resume in the resume step and an improvement
to how EQC libraries are added to the path (you need the same
set as you have installed on the r_t node - including eqc_mcerlang')..
2015-08-13 11:30:36 -06:00
Zeeshan Lakhani
499a7b1c48
add some clarity to ordering of socket close and such
...
(cherry picked from commit 13408eb9e2
)
2015-08-13 13:07:40 -04:00
Zeeshan Lakhani
ba60249fc3
* clean-up yokozuna_rt for reusability
...
* add new types for dialyzer
* add test to reload schema and overwrite it on type change
* test nested search (e.g. nested json objects)
* test re-putting fields, include crdt map workaround, discussed in
https://gist.github.com/sdebnath/36c235e042cb35db7d1f
* increase aae concurrency for core_prop test
(cherry picked from commit 16ce998e3f
)
2015-08-13 13:07:40 -04:00
Brett Hazen
be89186090
Fix riak_control to check the correct devrel version
2015-08-12 19:50:50 -06:00
Jon Meredith
d43e526078
Only add EQC paths if nodes do not have them in proxy overload test.
2015-08-12 16:56:30 -06:00
Brett Hazen
4ddbd95460
Merge pull request #821 from basho/bugfix/bch/cleanup_verify_membackend
...
Update verify_memorybackend for RIAK-2061
2015-08-12 15:22:52 -06:00
Brett Hazen
0122a475e8
Merge pull request #817 from basho/bugfix/bch/update_riak_control_versions
...
Fix riak_control and riak_control_authentication for Riak 2.1+
2015-08-12 15:20:39 -06:00
John Daily
4a7c4b01d3
Merge pull request #782 from basho/rdb/gh-riak-727
...
Add failing test for github issue riak-727
2015-08-12 15:17:47 -06:00
Jon Meredith
696dc22c25
Added a couple of TODO reminders to the proxy overload test.
2015-08-12 11:45:58 -06:00