Commit Graph

3074 Commits

Author SHA1 Message Date
Brett Hazen
7fd33e38f5 Merge pull request #1177 from basho/bch-fix-riak-shell-tests
RTS-1493: Fix the expected float format from riak_shell
2016-10-31 09:50:06 -06:00
Brett Hazen
83181bceee Fix the expected float format from riak_shell 2016-10-29 21:51:04 -06:00
Brett Hazen
546a2d1cf6 Merge pull request #1175 from basho/kc-riak_control_authentication-fix
fixed riak_control_authentication to handle riak_ts version
2016-10-27 21:18:24 -06:00
Brett Hazen
1ab16dfc0c Merge pull request #1174 from basho/kc-riak-control-fix
fixed riak_control test to handle riak_ts
2016-10-27 20:06:09 -06:00
Korry Clark
7b97570716 removed debug output 2016-10-27 19:01:36 -07:00
Korry Clark
19b4d243cb fixed riak_control_authentication to handle riak_ts version 2016-10-27 16:35:17 -07:00
Korry Clark
6cbe3d2f04 fixed riak_control test to handle riak_ts 2016-10-27 16:12:27 -07:00
Brett Hazen
7372e12faf Merge pull request #1171 from basho/kc-simple-select-fix
Fixed ts_simple_select_iso8601 to include both pass and failing cases
2016-10-27 10:09:36 -06:00
Brett Hazen
177799f391 Lock deps for riak_ts_ee-1.5.0alpha3 2016-10-26 23:27:46 -06:00
Korry Clark
532003e625 pattern matching on error code only 2016-10-25 12:09:51 -07:00
Korry Clark
333bc02bf4 added error message matching for fail tests 2016-10-24 21:17:43 -07:00
Korry Clark
ffedf60096 removed tally 2016-10-24 14:56:44 -07:00
Korry Clark
35d5d768ff fixed test to include both passing tests and failing tests and moved one test to fail test 2016-10-24 14:45:05 -07:00
Brett Hazen
71d19d6598 Clean up some artifact reporting 2016-10-23 21:51:00 -06:00
Korry Clark
55f7712d8c added rebar.config.lock file 2016-10-19 09:34:25 -07:00
Brett Hazen
4cd8b3e1b4 Merge pull request #1168 from basho/kc-ts-2.2-merge
Merge develop-2.2 into riak_ts-develop
2016-10-18 19:18:34 -06:00
Korry Clark
5f7326fcc1 missing comma, more conflict resolution 2016-10-18 19:16:40 -06:00
korry8911
10576cea8f Update riak_test_escript.erl 2016-10-18 15:12:03 -07:00
korry8911
bcbbb5584e Update rebar.config 2016-10-18 15:09:03 -07:00
Korry Clark
3c1f7cbd40 merge 2016-10-18 13:52:01 -07:00
korry8911
6b20f46ec4 Merge pull request #1166 from basho/bch-lock-deps
REL-4: Update rebar and allow deps to be locked
2016-10-18 12:59:15 -07:00
Brett Hazen
c45621ab9c Update rebar and allow deps to be locked 2016-10-17 14:27:17 -06:00
Brett Hazen
076080fb27 Merge pull request #1164 from basho/jbg-feature-ts-where-is-null
Implemented Riak TS SQL "WHERE IS [NOT] NULL" test
2016-10-14 12:21:52 -04:00
Brett Hazen
64369bbc3f Switch to basho repos 2016-10-13 17:07:54 -06:00
James Gorlick
1d3649ea81 changed data set size for ts_simple_select_is_null to odd to make NULL and NOT NULL set size differ for greater certainty granted by the assertions. 2016-10-13 07:30:14 -07:00
James Gorlick
7d393f0412 changed ts_simple_select_is_null to assert exact row count within NULL and NOT NULL subsets. changed ts_simple_select_is_null to test the NOT NULL binary <<"">> to stress the edge where an empty string is not NULL. 2016-10-11 09:26:02 -07:00
Andy Till
c7298c9e2e Merge pull request #1165 from basho/at-ts-handoff-tests
Hinted handoff tests for Time Series.
2016-10-11 15:42:33 +01:00
andytill
1a3827d31c Hinted handoff tests for Time Series. 2016-10-11 14:38:40 +01:00
James Gorlick
fc08989c0d implemented Riak TS SQL "WHERE IS [NOT] NULL" test. 2016-10-07 14:12:30 -07:00
Brian Sparrow
61c96b5d78 Merge pull request #1163 from basho/nem-add-verify_no_datatype_siblings.erl
Add new verify_no_datatype_siblings test
2016-10-06 16:23:20 -04:00
Nick Marino
d2f167529e Add new verify_no_datatype_siblings test
This currently fails because it targets a bug that has not been fixed
yet. See comments in test header for more info.
2016-09-28 12:55:26 -04:00
Brett Hazen
cab4f8be8f Merge pull request #1162 from basho/bch-cleanup-log-check
Clean up get_node_debug_logs/0 by building a simple list
2016-09-27 09:07:01 -06:00
Brett Hazen
460501c188 Clean up get_node_debug_logs/0 by building a simple list 2016-09-27 08:56:00 -06:00
Brett Hazen
90ad4932c0 Merge pull request #1161 from basho/bch-fix-log-collection
Skip missing debug log files instead of exiting riak_test
2016-09-26 09:22:05 -06:00
Brett Hazen
6491544a64 Skip missing debug log files instead of exiting riak_test 2016-09-24 19:19:46 -06:00
Brett Hazen
b8a82cdaf1 Merge pull request #1160 from basho/nem-fix-partition_repair
Fix race condition in partition_repair
2016-09-22 14:32:06 -06:00
Nick Marino
bff9ddc872 Fix race condition in partition_repair
If we just wait for the old vnode to die, we are not guaranteed that the
new one will have yet been started and registered with the vnode
manager, so it's possible we will end up trying to do a call into the
old dead vnode in the subsequent test code. We saw a couple of test
failures in giddyup recently which I believe were caused by this race
condition.

To fix, we can wait for the vnode manager to return a new pid instead of
just waiting for the old pid to die.
2016-09-22 13:02:04 -04:00
Fred Dushin
d46cd3b305 Updated to Lager3 2016-09-21 18:23:56 -04:00
Nick Marino
95b8747c58 Merge pull request #1159 from basho/nem-overload-test-refinements
Fix intermittent failure in w1c part of overload test (and do some misc code cleanups)
2016-09-21 10:07:56 -04:00
Brett Hazen
60e2be410e Merge pull request #1157 from basho/fd-verify_dt_data_upgrade-fix
Added wait_until_transfers_complete before partitioning cluster
2016-09-20 15:07:31 -06:00
Nick Marino
3ba8623975 Make the overload test a bit more precise
We should get exactly 200 get requests in this part of the test, so
let's verify that instead of using the fuzzier >= comparison.
2016-09-20 15:53:32 -04:00
Nick Marino
2d4e2b59ff Use a randomized key for the overload test
This helps ensure we get different preflists each time, and will
hopefully make the test more likely to uncover failures in the future.
2016-09-20 15:33:48 -04:00
Nick Marino
062115b2cc In overload test, filter specifically on get msgs 2016-09-20 14:43:32 -04:00
Nick Marino
74becb61a8 Remove unused run_queue_len function 2016-09-20 13:24:11 -04:00
Fred Dushin
ebf63c399b Merge pull request #1158 from basho/bch-fix-debug-file-upload
Read the entire debug log file before uploading to S3
2016-09-20 11:59:49 -04:00
Nick Marino
2445cad120 Simplify get_victim & fix intermittent w1c fails
There's no reason I can find to rule out any particular vnode when
choosing the victim. The way this function is used in this test, it
seems we're trying to make sure we pick a vnode on a different node from
the one we're connecting to, but I removed this check and forced it to
pick a vnode on the same node, and the test still passed fine.

This was also causing occasional issues with the w1c tests, because
there we use n=1; if we skip the first entry in the preflist because
it's on the excluded node, then we will pick a victim vnode that is not
actually being read from, and the test will fail.
2016-09-20 10:14:35 -04:00
Brett Hazen
bac6dcaa3c Read the entire debug log file before uploading to S3 2016-09-19 16:52:11 -06:00
Nick Marino
3d583db7d1 Correct spelling of "protection" in log message 2016-09-19 16:30:20 -04:00
Fred Dushin
54cfe5e26b Added wait_until_transfers_complete before partitioning cluster, and increased wait_until_transfers_complete verbosity 2016-09-19 15:56:16 -04:00
Nick Marino
7b1ab3c961 Remove redundant wait_until in overload setup
This is not needed because we already have other checks in setup() that
will not pass until riak_kv is started up, and riak_kv will not start
until riak_core is done starting, and once riak_core is done starting we
can be guaranteed that get_chash_bin() will succeed. (When riak_core is
started, it calls riak_core_ring_manager:start_link from the sup, which
then calls init, which calls set_ring, which calls set_ring_global,
which inserts an entry into the ets table for chashbin.)
2016-09-19 13:22:01 -04:00