Commit Graph

2098 Commits

Author SHA1 Message Date
Brett Hazen
4034777d0c Change verify_memorybackend to use calls to core and kv to determine
memory used, instead of a brittle parsing of data structures
2015-07-31 14:48:45 -06:00
Brett Hazen
24c63feba5 Merge pull request #816 from basho/bugfix/bch/update_membackend_regex
Patch verify_membackend test to run in 2.1+
2015-07-28 11:52:33 -06:00
Brett Hazen
98c6832367 Switch check_put_delete/1 to use a range of acceptable sizes 2015-07-27 15:27:52 -06:00
Brett Hazen
68ca37a54c Adjust verify_membackend:get_used_space/2 to work with Riak 2.1+ 2015-07-24 16:31:15 -06:00
Doug Rohrer
9dd2165b71 Merge pull request #814 from basho/bugfix/RIAK-1884
Add verify_snmp_repl riak_test
2015-07-23 11:11:49 -04:00
Brett Hazen
b08e8d83ad Merge pull request #813 from basho/feature/simple_cluster_test
Add basic cluster converge test to try to capture issues with cluster convergence outside of other tests.
2015-07-21 13:27:00 -06:00
Jason Voegele
3a7be664cd Remove extraneous lager call 2015-07-20 14:44:44 -04:00
Jason Voegele
0ffcc61b97 Add verify_snmp_repl riak_test
The verify_snmp_repl test reproduces the error condition (one cluster
configured for realtime replication with two or more other clusters) and
passes if and only if the riak_snmp_stat_poller module correctly handles
this configuration.

https://bashoeng.atlassian.net/browse/RIAK-1884
https://github.com/basho/riak_snmp/issues/27
2015-07-20 11:25:21 -04:00
Doug Rohrer
1e39711ff3 Add basic cluster converge test to try to capture issues with cluster
convergence outside of other tests.
2015-07-17 16:23:06 -04:00
Fred Dushin
62335cf416 Merge pull request #808 from basho/zl/forward-merge-riak/2.0-yoko-tests
update some yokozuna tests from work done in riak/2.0 branch for 2.0.…
2015-07-13 13:57:28 -04:00
Zeeshan Lakhani
b68ffbc9be update some yokozuna tests from work done in riak/2.0 branch for 2.0.6 release 2015-07-07 13:01:42 -04:00
Fred Dushin
57346dd366 Merge pull request #794 from basho/zl/clean-up-yz-core-prop-test
adding clarity to test
2015-05-29 16:29:18 -04:00
Zeeshan Lakhani
452da0d17d Merge pull request #792 from basho/add-test/zl/add-test-for-default-b_t-upgrade-checks
test default bucket type upgrade on change to entropy iteration... an…
2015-05-28 10:29:30 -04:00
Zeeshan Lakhani
e86616f38d handle possible race conds w/ trace checker and log out values too for extractor checks 2015-05-27 18:10:30 -04:00
Fred Dushin
a8f00eb46c Removed verify_num_found_query function from yz_extractors and changed test
to use Zeeshan's version by the same name in yokozuna_rt
2015-05-27 16:08:50 -04:00
Zeeshan Lakhani
ad5004c0df *add include file for types
*refactor yokozuna_rt some more
2015-05-27 10:36:18 -04:00
Zeeshan Lakhani
54568a0c27 * rename file to reduce conflict on buildbot runs
* wait_for_index on write data due to use in upgrade tests
* clean-up other tests to that test upgrade from (2.0.5->2.0.6/2.1.1->2.1.2), namely yz_extractors
* clean-up tests that can start using yokozuna_rt helpers
2015-05-27 10:25:05 -04:00
Zeeshan Lakhani
e6e8d9403c * test default bucket type upgrade on change to entropy iteration... and move assert cap checks to rt.erl
* cleaner setup as we deal w/ immediate version needs
2015-05-27 10:25:05 -04:00
Christopher S. Meiklejohn
920bc760d6 Merge pull request #798 from basho/bugfix/csm/aae_bucket_types
Fix typo.
2015-05-20 16:43:30 -04:00
Christopher Meiklejohn
08ef4cfb20 Fix typo. 2015-05-20 16:38:34 -04:00
Christopher S. Meiklejohn
5bc7b19083 Merge pull request #797 from basho/bugfix/csm/aae_bucket_types
Add separate test for AAE fullsync with bucket types.
2015-05-20 12:05:23 -04:00
Christopher Meiklejohn
b2942aa436 Remove export all. 2015-05-20 11:30:30 -04:00
Christopher Meiklejohn
d2173bb341 Add separate test for AAE fullsync with bucket types. 2015-05-20 11:29:50 -04:00
Christopher Meiklejohn
3a359b00af Merge pull request #796 from basho/bugfix/csm/remove-invalid-fix
Remove potential fix for BTA-116.
2015-05-18 13:19:54 -04:00
Christopher Meiklejohn
23a465d119 Remove potential fix for BTA-116. 2015-05-18 13:17:26 -04:00
Zeeshan Lakhani
3ee669ee24 adding clarity to test 2015-05-18 10:57:49 -04:00
Fred Dushin
2d2ac78706 Merge pull request #790 from basho/update-test/zl/yz-aae-handoff
update yz_handoff test after better handling of default bucket_types in ...
2015-05-06 16:01:10 -04:00
Zeeshan Lakhani
1a5204fd18 update yz_handoff test after better handling of default bucket_types in Yokozuna PR #486 2015-05-01 08:35:37 +09:00
Fred Dushin
6ac9fc22df Merge pull request #779 from basho/add-test/zl/yz-extractors
YZ Extractor Test and New Helpers
2015-04-29 19:23:21 -04:00
Zeeshan Lakhani
96c2f35227 * add some yz wait_until helper fns
* add count_calls and helpers for tracing fn calls (with dbg)
* add yz_extractors test to check for updates made in RIAK-1673
* add yz_noop_extractor intercept for testing a custom mimetype for extractor
2015-04-28 18:00:42 -04:00
Fred Dushin
190081fe02 Merge pull request #787 from basho/more/zl/core-prop-double-check
Update core properties test to make sure that indexes can be reindexed a...
2015-04-28 17:44:17 -04:00
Zeeshan Lakhani
61e3170ecf Update core properties test to make sure that indexes can be reindexed after removing of data dirs and segment info files 2015-04-28 17:28:09 -04:00
Doug Rohrer
e8222900bf Merge pull request #789 from basho/bugfix/dr/receive_deadlocks_when_handoff_occurs
Fullsync replication known deadlock tests.
2015-04-28 14:30:16 -04:00
Doug Rohrer
a7b83559bc Fix typo 2015-04-27 17:58:03 -04:00
Doug Rohrer
cad958481d Test deadlock between Repl Fullsync and Handoff. Requires riak_repl and riak_kv fixes:
Tests that provoke deadlock causing full_sync to hang when handoff causes vnode to exit before the fold request is started.
2015-04-24 15:23:06 -04:00
Zeeshan Lakhani
ce27619dfb Merge pull request #773 from basho/feature/zl/update-yz_crdt-test-for-RIAK-1672
check for map embedded fields and counts
2015-04-23 09:40:04 -04:00
Fred Dushin
51998fd555 Back ported branch 'master' into feature/zl/update-yz_crdt-test-for-RIAK-1672
Conflicts:
	src/rt.erl

Manually resolved
2015-04-23 08:56:29 -04:00
Zeeshan Lakhani
758cee1f10 Merge pull request #784 from basho/add-test/zl/no-core-props-unload-working
Add test removing core.properties and checking whether creation works ...
2015-04-16 18:13:05 -04:00
Zeeshan Lakhani
ac7cc9fdd9 * Add test removing core.properties and checking whether creation works without issue
* Related to https://github.com/basho/yokozuna/pull/487
* Removed a possible false-failure case.
* Use yz_rt wait_until, which is PR'ed into a new utils file for r_t in another branch

... caused by disjoint random selections for failure simulation and
recovery testing (allowing an unmolested node to report a pass).

Once we've validated that this fixes it I'll rebase the branch

foo
2015-04-16 17:20:49 -04:00
Nick Marino
2c8a2eb4f8 Merge pull request #785 from basho/nem-ensemble-sync-tickcounts
Fix occasional failures in ensemble_sync
2015-04-16 15:10:02 -04:00
Nick Marino
df438b9406 Fix occasional failures in ensemble_sync
This fixes some rare race conditions in ensemble_sync where we could
sometimes run wait_for_stable prior to an ensemble actually becoming
unstable, and then it would pass the wait but the ensemble could become
unavailable during the next step in the test.

By waiting for the ensemble leader tick counts to increment, we can
guarantee that any failures will have been "noticed" prior to our
calling wait_for_stable, because the leader_tick function ensures a
quorum is present when it executes, and steps down if it fails to get
one.
2015-04-15 18:35:01 -04:00
Andrew J. Stone
39f5573233 Merge pull request #783 from basho/bugfix/dr/fix_wait_for_connection_hang
Remove handling of timeout so pre-2.0 node connections will be detected
2015-04-14 15:22:04 -04:00
Doug Rohrer
da28931e4e Remove handling of timeout, as old-school Riak connection nodes would also result in a timeout. Try new riak_core_cluster_conn:status() first, then fall back to older 1.4.X style bare send. Lather, rinse, repeat. 2015-04-14 15:13:15 -04:00
Andrew J. Stone
4fda0c89f7 Merge pull request #781 from basho/bugfix/dr/fix_wait_for_connection_hang
Fix test hang when riak_core_cluster_conn:status failed to respond after 2 milliseconds.
2015-04-13 16:39:53 -04:00
Doug Rohrer
c603e8be14 Fix test hang when riak_core_cluster_conn:status failed to respond after 2 milliseconds.
Should resolve test failures with a message similar to:

@riak_core_cluster_conn:handle_info:402 Unmatch message {<20563.30238.10>,status}

in the server logs.
2015-04-13 16:37:43 -04:00
Alex Berghage
10d901fb09 Merge pull request #778 from basho/bugfix/zl/yz-handoff-fix-around
Reduce intermittent failure frequency in yz_handoff. Needs to be revisited as part of basho/yokozuna#485
2015-04-13 12:36:28 -05:00
Doug Rohrer
e2dcc1245c Merge pull request #780 from basho/rdb/instrument-repl
Add some extra info out to detect point of timeout in test failures
2015-04-13 13:33:06 -04:00
Zeeshan Lakhani
74b510bf47 update yz_handoff test for swiftness via single leave-state check... need to extend this w/ aggressive settings and more states eventually 2015-04-13 13:17:02 -04:00
John Daily
c89e21631f Merge pull request #755 from basho/bugfix/mw/jmx-verify-timeouts
Added a configurable wait before initial jmx_dump
2015-04-13 11:46:01 -04:00
Russell Brown
e3fece8713 Add some extra info out to detect point of timeout in test failures 2015-04-13 16:09:33 +01:00