Commit Graph

1321 Commits

Author SHA1 Message Date
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
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
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
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