Commit Graph

2513 Commits

Author SHA1 Message Date
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
Andy Till
61d1f358c6 Merge pull request #887 from basho/feature/rts-351
align tests with rts-351 error messages
2015-10-12 15:30:14 +01: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
Andy Till
9e22ce3fd4 Merge pull request #883 from basho/gg/timeseries/more_tests2
new create table test
2015-10-08 15:00:03 +01: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
Gordon Guthrie
6d9e1d8fb7 Merge pull request #877 from basho/feature/fix/RTS-354
adjust tests for fix
2015-10-02 13:07:45 +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
Gordon Guthrie
351cac7eee Merge pull request #876 from basho/feature/az/quanta-spanning-select-test
quanta spanning select test
2015-10-01 15:38:53 +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
Andy Till
195749a14a Merge pull request #875 from basho/feature/fix_select_tests
Fixed select pass tests
2015-10-01 15:58:14 +01: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
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