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
Gordon Guthrie
1dbe16fbb9
Merge pull request #871 from basho/fix/az/expect-correct-n-of-records-from-select-with-range
...
Expect correct no. of records from select with range
2015-09-30 15:00:17 +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
John R. Daily
b86a193b66
Remove redundant entry
2015-09-29 11:26:22 -04: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
Fred Dushin
3601f874e5
Merge pull request #870 from basho/feature/yokozuna-rt-refactor
...
Refactor some Yokozuna tests to eliminate duplication
2015-09-28 16:01:17 -04:00
Fred Dushin
32bd9cf57c
Removed reference to old test from lager output in the case search has not yet yeilded any data.
2015-09-28 15:42:10 -04:00
Jason Voegele
146e448b8c
Update based on feedback from Fred
...
* Use `[binary()]` instead of `list()` in spec for `gen_keys/1`.
* Handle case of empty set of results in `assert_search/6`.
2015-09-28 15:30:35 -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
Brett Hazen
4fa35d0d86
Merge pull request #858 from basho/feature/bch/rtdev-install-script
...
Add script rtdev-install.sh to install arbitrary devrel in Git repository
2015-09-23 15:30:30 -06: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
32bbf19be4
pin riakc to ts-enabled branch of riak-erlang-client
2015-09-16 04:50:07 +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
946378953a
Merge pull request #863 from basho/bugfix/snmp-stat-poller-race
...
Verify cluster stats in SNMP
2015-09-14 09:12:05 -04:00
Brett Hazen
afa57bd12b
Merge pull request #864 from mikewallace1979/add-apache-licese-to-intercepts-files
...
Add copyright and Apache License Version 2.0
2015-09-11 13:07:52 -06:00
Mike Wallace
1f719ab8a5
Add copyright and Apache License Version 2.0
2015-09-11 17:06:34 +01: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
Fred Dushin
03b9180d05
Merge pull request #859 from basho/yz-updates/zl/check-for-custom-extractor-issues-and-commit-use
...
Yz updates/zl/check for custom extractor issues and commit use
2015-09-10 18:12:39 -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
Brett Hazen
8a99d7545b
Add rtdev-install.sh
2015-09-01 14:33:29 -06: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
222d559f5b
Merge pull request #854 from basho/forward_merge/dr/riak_2.0_to_master
...
Forward merge/dr/riak 2.0 to master
2015-08-26 14:15:16 -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
ac71741f35
Merge pull request #853 from basho/bugfix/dr/fix_verify_staged_cluster
...
Use wait_for and actually check the results of `riak-admin cluster join`
2015-08-26 13:53:42 -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
b8dfb15d14
Merge pull request #852 from basho/bugfix/verify-snmp-repl-fail-appropriately
...
Fail by crashing test process instead of returning a tagged tuple
2015-08-26 09:48:32 -04:00
Jason Voegele
b71e582dc0
Log when original version of intercepted function fails
2015-08-26 09:21:30 -04:00
Kazuhiro Suzuki
72d7db2016
Merge pull request #844 from basho/feature/move-cs-harness-to-cs-repo
...
Move rt_cs_dev to cs repo
2015-08-26 11:07:34 +09: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
Brett Hazen
c00dabd443
Merge pull request #851 from basho/bugfix/bch/devrels-can-be-atoms-or-strings
...
Allow devrel name in .riak_test.config to be an atom or a string
2015-08-25 12:39:18 -06:00